C#
黄焖几米饭
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【C#】字符串倒序输出
需求:有一个字符串为”hello world!”,将其倒序打印输出。 class Program { static void Main(string[] args) { string str = "hello world!"; char[] chars = str.ToCharArray(); Console.WriteLine(ch...原创 2019-07-30 16:01:20 · 1716 阅读 · 1 评论 -
【C#】 去除数组重复元素
需求:假设有一个int数组,数组内元素为“1”,“1”,“1”,“2”,“2”,“3”。将这个数组中的重复元素去除。 class Program { static void Main(string[] args) { int[] Array = new int[] {1,1,1,2,2,3}; List<int> ArrayList =...原创 2019-08-01 16:36:59 · 3476 阅读 · 1 评论
分享