![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
程序基础
君.
这个作者很懒,什么都没留下…
展开
-
初学C#的小白写的冒泡排序,往排好序的数组内插入一个数再排好序输出
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace HomeWork{ class Program { static void Main(string[] args...原创 2018-03-11 15:48:53 · 881 阅读 · 0 评论 -
适合初学者看的学生信息系统,C#小白编写
建了两个类第一个学生类第二个教师类代码如下,加入了四个学生using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace HomeWork{ class Program { s...原创 2018-03-20 10:44:21 · 3127 阅读 · 1 评论 -
使用C#控制台程序操作SQL Serve 的3种基本方法
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data;using System.Data.SqlClient;namespace FirstClass{ public ...原创 2018-03-30 17:09:47 · 1202 阅读 · 0 评论 -
一个简单的修改配置文件
一个非常简单的修改配置文件工具,未做任何校对,采用的是System.IO.File.WriteAllText方法写入前台代码<!DOCTYPE html><html><head> <meta name="viewport" content="width=device-width" /> <title>更新配...原创 2019-09-17 09:59:30 · 906 阅读 · 0 评论 -
C#取两个数组中相同的元素(交集)
List1与List2 的类型须一致Intersect()方法默认为IEnumerable<out T>,ToList()以后与List1的类型保持一致var intersect = List1.Intersect(List2).ToList();这样得到的intersect中的元素即为重复的元素 ...原创 2019-09-18 16:24:06 · 3645 阅读 · 0 评论