in Dot Net by (1.4k points)

Can "this" be used within a static method?

1 Answer

0 votes
by (1.4k points)

We can't use 'This' in a static method because we can only use static variables/methods in a static method.

Related questions

+1 vote
asked Apr 9, 2020 in C Sharp by GeorgeBell (5.2k points)
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri (1.4k points)
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri (1.4k points)
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri (1.4k points)
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri (1.4k points)
+1 vote
+1 vote
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri (1.4k points)
...