Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I need details about class collaboration and operation with example.

[edit] shouting removed [/edit]
Posted
Updated 17-Oct-13 5:04am
v2
Comments
joshrduncan2012 17-Oct-13 9:53am    
huh?
Zoltán Zörgő 17-Oct-13 9:55am    
Don't shout (don't use all caps)
And ask something with meaning, please. What do you want exactly, could you give at least an example?

 
Share this answer
 
Do you understand the question you SHOUT at as?

Try to answer the questions below

  1. What is a class in C#? Make a simple example of a class with a public method and a propery.
  2. What is an instance of a class? Make an example: do a program class and have main function holding an instance of the class above.
  3. Think of how two class instances can exchange informations? Make an example with a second class, have that class provinding a method that takes an instance of the first class and call the propery of the first class in that method, make an instance of that second class as sibling to the instance of the first class and pass that first instance to the method of the instance of the second class.


Maybe that is what you need...

Cheers
Andi
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900