SyntaxFix
Write A Post
Hire A Developer
Questions
I tried to do this with System.Environment back when I was learning extension methods and was not successful. The reason is, as others mention, because extension methods require an instance of the class.