Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

.net framework cheat sheet

// Declare a single-dimensional array of length 5 of type int
int[] array1 = new int[5];

// Declare and set array element values
int[] array2 = new int[] { 1, 3, 5, 7, 9 };

// Alternative syntax
int[] array3 = { 1, 2, 3, 4, 5, 6 };
Source by vinceumo.github.io #
 
PREVIOUS NEXT
Tagged: #framework #cheat #sheet
ADD COMMENT
Topic
Name
7+7 =