Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

avoid writing the name of the type twice

List<int> numbers1 = new List<int>();
var numbers2 = new List<int>();
List<int> numbers3 = new();
Source by learning.oreilly.com #
 
PREVIOUS NEXT
Tagged: #avoid #writing #type
ADD COMMENT
Topic
Name
3+4 =