掌握C#基础及字典应用
发布时间
阅读量:
阅读量
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UseDictionary
{
class Program
{
static void Main(string[] args)
{
//ForEachDic( );
UseRmvClr( );
}
static void ForEachDic( )
{
//创建一个新的Dictionary<int, string>字典对象intStrDic
Dictionary<int, string> intStrDic = new Dictionary<int, string>( );
Random rd = new Random( ); //用来产生随机产生整数
for (int i = 1; i <= 5; i++) //为字
全部评论 (0)
还没有任何评论哟~
