Results 1 to 2 of 2

Thread: [RESOLVED] [2.0] why does a static class has "Equals" and "ReferenceEquals" methods??

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    Resolved [RESOLVED] [2.0] why does a static class has "Equals" and "ReferenceEquals" methods??

    I created a static class called "FinancialLibrary" and made sure that all members in this class are declared as static.

    When I said FinancialLibrary. I obviously see all the members of this static class. But I also see "Equals" and "ReferenceEquals" methods which I didn't write.

    I know these two methods belong to "Object" class. Does that mean the static class I wrote ("FinancialLibrary") is a derived class of "Object" class?

    nath

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: [2.0] why does a static class has "Equals" and "ReferenceEquals" methods??

    All classes are derived from Object.
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width