Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# call constructor within another

public Sample(string str) : this(int.Parse(str)) { }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #constructor
ADD COMMENT
Topic
Name
9+8 =