Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- namespace LearnLists
- {
- class Program
- {
- static void Main()
- {
- /* Declare three empty lists:
- 1. hold bool types
- 2. hold Random types
- 3. hold IServiceProvider types
- */
- List<bool> yesno = new List<bool>();
- List<Random> rand = new List<Random>();
- List <IServiceProvider> sp = new List<IServiceProvider>(); //interfaces also work here!
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement