Danilo

Danilo

  • NA
  • 5
  • 0

Beginer class

Jan 7 2010 3:31 PM
Hello!

I'm yust starting with C# and object programming and I must admit that it is not easy.

I have a question how to create class with folowing structure:

string Name;
string Surname;
int Age;

clsAdress clsAdressA[5];         "And now come the hard thing for me!"

clsAddress
{
    string Address;
    int HomeNr;
    string State;
}
   
Can anyone help me how to solve that?
Problem is with this custom data type clsAdress!!

Any info is welcome.

Regards!






Answers (5)