Answers|Latest Update
What are the advantages of a list Correct Answ_Flexibility to add or remove and automatic
resizing
What are the disavantages of a list Correct Answ_the use of reference types and Lists may
use more memory than arrays due to their internal mechanisms for dynamic resizing.
What are the ways to add or insert in List Correct Answ_names.Add("Shiro")
names.Insert(1,"indy")
What are the common methods of Remove, Remove at, clear Correct Answ_names.Remove
("Shiro")
names.RemoveAt(0)
clear();
How to use a foreach loop using lists Correct Answ_foreach ( String n in names)
{
, Console.WriteLine(n)
}
What are the advantages of the foreach loop Correct Answ_Access data from an array or list
and execute code for each element of an array/list
What are the disadvantages of the foreach loop Correct Answ_Bad at updating or changing
an array or list
Define parent class or base Correct Answ_class from which you inherit
Define child class or subclass Correct Answ_class doing the inheriting
What is the keyword to call another constructor in the same class Correct Answ_: this
Constructor chaining within a class and to a base class via Correct Answ_: base
what is an overriding method Correct Answ_