public class Point
{
private int row;
private int col;
private char value;
public Point(int row, int col, char value)
{
this.row = row;
this.col = col;
this.value = value;
}
public Point(Point p)
{
Point(p.row, p.col, p.value); // можно ли как-то добиться работы такого кода ?
}
}
C# конструкторы классов |