| 
 | static | 
Resizes a IList<T> to the given size .
Therefore, newly added elements are initialized with its default value/constructor.
| T | The element type of the list. | 
| list | The list which should be resized. | 
| size | The number of elements which the list should contain. | 
| System.NullReferenceException | If list  is null. |