Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# declare object with values

Demo d = new Demo() { 
  name = "demo name",
  demo_num = "200",
  city = "some city"
};
Source by www.educba.com #
 
PREVIOUS NEXT
Tagged: #declare #object #values
ADD COMMENT
Topic
Name
4+7 =