Choose The Correct Alternative That Utilizes The Indexed #461
Choose the correct alternative that utilizes the indexed property such that a group named class has indexed property which stores or retrieves value to/from an array of 5 numbers?
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Indexers and Exception Handling - Introduction of Indexers - Quiz No.1.
Choose the correct alternative that utilizes the indexed property such that a group named class has indexed property which stores or retrieves value to/from an array of 5 numbers?
group[3] = 34;
group g = group();
Console.WriteLine(group[3]);
group g = new group(); Console.WriteLine(g[3]);