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

Code Example 1

Person person=new Person("Sam","Lewis")

Learn ReactJs, React Native from akashmittal.com