can't i access this keyword in static method .....why??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    can't i access this keyword in static method .....why??

    why can't i access this in static method ......
    plz help me ... thanxxxxx
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    Originally posted by dmjpro
    why can't i access this in static method ......
    plz help me ... thanxxxxx
    this refers to an instance of an object whereas static methods are Class methods , for more details see Class Members

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by dmjpro
      why can't i access this in static method ......
      plz help me ... thanxxxxx
      Dj, you should read the free class here. I explained it there.

      Comment

      • dmjpro
        Top Contributor
        • Jan 2007
        • 2476

        #4
        both of u lot of thanxxxx

        Comment

        Working...