I have a static variable declared in my class as :
private static DirectoryInfo _extractionFolder;
in some function i change this to :
_extractionFolder = new DirectoryInfo(@"C:\TEST");
then on same function on few lines down can I change this variable again?
I am trying it and it doesn’t seems to change.or is it me having a rough day.
Rough day I think 🙂 You should be able to set its value like any other variable.