Home > DeveloperSection > Interviews > Can “this” be used within a static method?

Posted on    November-13-2013 11:07 PM

 C# C# 
 1 Answer(s)
  1007  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    November-13-2013 1:00 AM

No “This” cannot be used in a static method. As only static variables/methods can be used in a static method.

Don't want to miss updates? Please click the below button!

Follow MindStick