I am new to C# from java. In java I am able to use a decorator for a File object where I can have the file instance as a member variable and add the methods with the operations I need to perform on the file. This seems to be a headache with C#.
In my class I have this:
private File myFile;
And I get this error
Cannot declare a variable of static type 'System.IO.File'
What do other c# programmers do in this case ?