Академический Документы
Профессиональный Документы
Культура Документы
NET
5.How do you initialize a two-dimensional array that you don’t know the dimensions of?
lint [, ] myArray; //declaration
lmyArray= new int [5, 8]; //actualinitialization
6.What’s the access level of the visibility type internal? Current assembly.
7.What’s the difference between struct and class in C#?
lStructscannot be inherited.
lStructsare passed by value, not by reference.
lStruct is stored on the stack, not the heap.