Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# new object without class

var v = new { Amount = 108, Message = "Hello" };
//Above code will create a new object with properties Amount and Message.// 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #object #class
ADD COMMENT
Topic
Name
5+9 =