I am new to C#
What is the difference between
public string MyValue;
and
public string MyValue { get; set; }
I always assumed that both were same. Something was not working in my code. Using the latter form made it work. But don't know what is the difference. Can you help?
Thanks