You cannot assign this to a class type. The best way, probably, is to create another constructor and call:
public MyClass() : this(string.Empty, string.Empty, 0) { } public MyClass(MyClass s) : this(s.s1, s.s2, s.v1) { } private MyClass(string s1, string s2, int v1) { this.s1 = s1; this.s2 = s2; this.v1 = v1; }
source share