C Sharp (C#) - Classes and Objects
Examine the following code snippet:
What is the issue with this code?
class Employee {
public string id;
public Employee(string i) { id = i; }
}
Employee e = new Employee();
Console.WriteLine(e.id);What is the issue with this code?
