G
Guest
I want to use an enum field in a constructor.
For example:
class Student
{
private string name;
private enum university {.....};
private byte course;
......
public Student ( string name, enum university)
{
.........
}
I'm fairly new to programming so any sample code would be most appreciated.
}
For example:
class Student
{
private string name;
private enum university {.....};
private byte course;
......
public Student ( string name, enum university)
{
.........
}
I'm fairly new to programming so any sample code would be most appreciated.
}