Is it possible to set a default value without the body of a property? Preferably with annotations.
[SetTheDefaultValueTo(true)] public bool IsTrue { get; set; }
If you are using C#5 and earlier, you have to do it in a constructor.
but since C# 6.0, the ability to have auto property initializers is included, and the syntax is:
public int myage { get; set; } = 33;