C#/VB.Net - Enumerate Path -


how can path variable clear in enumeration appdata, temp , winddir? tried this:

enter image description here

enter image description here

but enumeration wont allow me use non-constant expression still have folders clean , structured listed in enumeration, workarrounds problem?

you aren't going able enum, class:

public class myfolder {     public static string windows {get {return system.environment.getenvironmentvariable("windir");}}     public static string appdata {get {return system.environment.getenvironmentvariable("appdata");}}     public static string temp {get {return system.environment.getenvironmentvariable("temp");}} } 

i made static access enum (ie myfolder.windows).


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -