Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Stephen87

    Interface Collections: IEnumerable,IEnumerator

    Hi guys- I know this is a broad question, but can someone help me understand IEnumerable and IEnumerator? I am in the dark on this one, and I have spent many many hours researching this, and I just dont understand the concept, nor do I understand how to make my own collections. Could someone...
  2. Stephen87

    Referencing to a new object in a static member

    Sorry, it doesn't answer my question ahah. Main doesn't need an object to run the overall program, if this is what you are pointing to. Im wondering, why excactly you have to create objects on the heap only through static methods.
  3. Stephen87

    Polymorphism with Interfaces

    I am trying to understand a hard to grasp concept. If any of you will give me pointers, it will be much appreciated. Say there is a class Document with two members void Read(); void Write(); Now there is another class called Note, and it inherits Document class override Read(); new void...
  4. Stephen87

    Referencing to a new object in a static member

    Quick quesion all- Why do you exactly have to create a new object in a static method? Why wont this work?: class Program { Document doc = new Document(); doc.Write(); static void Main(string[] args) { } } Thanks

Part and Inventory Search

Back
Top