C Sharp (C#) - Classes and Objects
What will be the output of this C# code?
class Point {
public int X, Y;
public Point() {
X = 5;
Y = 10;
}
}
class Program {
static void Main() {
Point p = new Point();
System.Console.WriteLine($"{p.X}, {p.Y}");
}
}