Yes, this type is static. Not only you cannot create and instance of such type, but apparently you also never need it. :-)
If your are trying to suck line like
System.IO.File fl = default(System.IO.File);
, you apparently have
no idea what the class is, no matter static or non-static. Nothing can help here but systematic study of programming in general and OOP in particular. Try to get to a basic language and .NET manual and read it
from the very beginning, doing exercise as you go, until the problem has gone too far.
There is no other way.
Just a hint: you never need your
fl
, which cannot even exist. Instead of it, you always should use
System.IO.File.*
, where '
*
' is any method or property of this class. But you should not do it without understanding of what are you doing; and you apparently lack this understanding, so… see above.
In the meanwhile, just take a look at my past solution explaining this matter in detail:
What makes static methods accessible?[
^].
It might at least give you an idea on what's involved. You may or may not understand it though. Than again… see above.
Good luck,
—SA