Gives me the following compile errorCode:public struct FullName { public string FirstName; public string LastName; public FullName(string First) { this.FirstName = First; this.LastName = Demo(); } public string Demo() { return "demo"; } }If FullName were to be class instead of struct, I don't get compilation errors.The 'this' object cannot be used before all of its fields are assigned to
Can anyone explain this to me please ?