Check out example codes for "c# object default property value". It will help you in understanding the concepts better.

Code Example 1

public int X { get; set; } = x; // C# 6 or higher

Learn ReactJs, React Native from akashmittal.com