摘要:
//------------使用文件流来实现多媒体文件的复制--------------- //思路:就是先要将复制的多媒体文件读取出来,然后写入到你指定的位置。 string source = @"C:\Users\shuai\D... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 文件流{ class... 阅读全文
摘要:
//将一个数组中的奇数放到一个集合中,再将数组的偶数放到另一个集合中。 //最终将两个集合合并为一个集合,并且奇数显示在左边,偶数显示在右边。 int[] nums = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; ... 阅读全文
摘要:
List list = new List(); list.Add(1); list.Add(2); list.Add(3); list.AddRange(new int[] { 1, 2,... 阅读全文