CAN “THIS” BE USED WITHIN A STATIC METHOD?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
C# 
C#
 1361  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    Can “this” be used within a static method?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!