6.20 VAR 万能变量

 1 using System;
 2 using System.Collections;
 3 using System.Collections.Generic;
 4 using System.Linq;
 5 using System.Text;
 6 using System.Threading.Tasks;
 7 
 8 namespace _6._20_万能变量
 9 {
10     class Program
11     {
12         static void Main(string[] args)
13         {
14             int a = 10;
15             string b = "10";
16             Random c = new Random();//格式重点记牢
17             ArrayList d = new ArrayList();
18 
19 
20             var aa = 10;
21             var bb = "10";
22             var cc = new Random();//格式重点记牢
23             var dd = new ArrayList();
24 
25 
26             Console.ReadLine();
27         }
28     }
29 }

 

posted @ 2016-06-20 21:48  一人饮酒醉(SeVen❤)  阅读(150)  评论(0编辑  收藏  举报