Which of the following will be the correct result of the statement b = a in the C#.NET code snippet given below? struct Address { private int plotno; private String city; } Address a = new Address(); Address b; b = a;
Correct Answer: All elements of a will get copied into corresponding elements of b.
Discussion & Comments