- 1.Array 数组, 用于存储一组数据,创建数组需要明确数组存储的类型及长度,一旦确定不可改变,没有方便的添加,删除,查找方法。 特点:根据下标(索引)查找速度非常快, 时间复杂度:(增加:O(n),删除:O(n/2), 修改(n/2) 查找: O(1) ) 2.ArrayList 动态数组, 可以根据元素个... 1.Array 数组, 用于存储一组数据,创建数组需要明确数组存储的类型及长度,一旦确定不可改变,没有方便的添加,删除,查找方法。 特点:根据下标(索引)查找速度非常快, 时间复杂度:(增加:O(n),删除:O(n/2), 修改(n/2) 查找: O(1) ) 2.ArrayList 动态数组, 可以根据元素个...
- bin 目录用来存放编译的结果,bin是二进制binrary的英文缩写,因为最初C编译的程序文件都是二进制文件,它有Debug和Release两个版本,分别对应的文件夹为bin/Debug和bin/Release,这个文件夹是默认的输出路径,我们可以通过:项目属性—>配置属性—>输出路径来修改。 ... bin 目录用来存放编译的结果,bin是二进制binrary的英文缩写,因为最初C编译的程序文件都是二进制文件,它有Debug和Release两个版本,分别对应的文件夹为bin/Debug和bin/Release,这个文件夹是默认的输出路径,我们可以通过:项目属性—>配置属性—>输出路径来修改。 ...
- Bug 程序缺陷 debug 调试 编译器直接处理预处理 #define Debug #define Release #undef Debug //#undef Release using System; using Syst... Bug 程序缺陷 debug 调试 编译器直接处理预处理 #define Debug #define Release #undef Debug //#undef Release using System; using Syst...
- ///拷贝单个文件 string fileName = "test.txt"; str... ///拷贝单个文件 string fileName = "test.txt"; str...
- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FileClass { class Progra... using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FileClass { class Progra...
- private void button1_Click(object sender, EventArgs e) { System.Threading.Thread p_t... private void button1_Click(object sender, EventArgs e) { System.Threading.Thread p_t...
- using System.Drawing; using System.Windows.Forms; namespace RectangleTest { public partial class Form1&nbs... using System.Drawing; using System.Windows.Forms; namespace RectangleTest { public partial class Form1&nbs...
- using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using Sy... using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using Sy...
- ADO.NET数据访问技术的一个突出特点就是支持离线访问,而实现这种离线访问的技术核心急速DataSet对象,该对象通过数据驻留在内存来实现离线访问。 DataSet对象由一组DataTable对象组成,这些对象与DataRelation对象又包含Row(行),集合,Columns(列)集合,Rows集合是有多个DAtaRow对象组成,Columns集合是由多个Dataco... ADO.NET数据访问技术的一个突出特点就是支持离线访问,而实现这种离线访问的技术核心急速DataSet对象,该对象通过数据驻留在内存来实现离线访问。 DataSet对象由一组DataTable对象组成,这些对象与DataRelation对象又包含Row(行),集合,Columns(列)集合,Rows集合是有多个DAtaRow对象组成,Columns集合是由多个Dataco...
- 栈(Stack) 代表了一个后进先出的对象集合。当您需要对各项进行后进先出的访问时,则使用堆栈。当您在列表中添加一项,称为推入元素,当您从列表中移除一项时,称为弹出元素。 常用方法: 1 public virtual void Clear();从 Stack 中移除所有的元素。2 public virtual bool Contains( object obj )... 栈(Stack) 代表了一个后进先出的对象集合。当您需要对各项进行后进先出的访问时,则使用堆栈。当您在列表中添加一项,称为推入元素,当您从列表中移除一项时,称为弹出元素。 常用方法: 1 public virtual void Clear();从 Stack 中移除所有的元素。2 public virtual bool Contains( object obj )...
- Timer时间间隔属性interval,以毫秒为单位, 每一时间间隔引发Tick事件 方法:start打开和stop关闭, DateTime.Now.ToString();获取当前时间 按住shift,右键“复制为路径” SoundPlayer类(using System.... Timer时间间隔属性interval,以毫秒为单位, 每一时间间隔引发Tick事件 方法:start打开和stop关闭, DateTime.Now.ToString();获取当前时间 按住shift,右键“复制为路径” SoundPlayer类(using System....
- C# List全包含另一个List class Program { static void Main(string[] args) { #region 全部包含 List<int> list1 = new List<int>(); list1.Add(1); list1.Add(2); list1.Add(2); list1.Add(2);... C# List全包含另一个List class Program { static void Main(string[] args) { #region 全部包含 List<int> list1 = new List<int>(); list1.Add(1); list1.Add(2); list1.Add(2); list1.Add(2);...
- private void button1_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() ==... private void button1_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() ==...
- ILDasm IL中间语言:intermediate language D反编译:decompile ASM汇编:assembly 方法一: 通过工具文件夹打开 方法二: 配置到vs菜单 选择路径:... ILDasm IL中间语言:intermediate language D反编译:decompile ASM汇编:assembly 方法一: 通过工具文件夹打开 方法二: 配置到vs菜单 选择路径:...
- using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace InterfaceTest { public ... using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace InterfaceTest { public ...
上滑加载中
推荐直播
-
华为云码道Agent集成与鸿蒙实战2026/08/11 周二 19:00-21:00
王一男-华为云码道产品规划专家;李炎-华为云码道产品专家;彭江敏-华为云鸿蒙端云一体化开发专家
本次直播带你解读华为云码道7月份产品新特性、新功能。更有专家演示码道Agent Space × 钉钉机器集成实战,从0到1打通消息通道;码道鸿蒙端云一体化实战,快速搭建员工签到系统。
回顾中 -
华为云开发者AI素养直播课·第五期2026/09/04 周五 16:00-18:00
林华鼎-华为云AI开发者运营负责人;蒋春阳-华为云AI开发者案例开发专家
本期直播内容: AI工具体验营 · 第5-8课连讲。Agent-Team 多智能体协作完成毕业设计实践
回顾中 -
华为云开发者AI素养ClassRoom·第六期2026/09/08 周二 19:00-20:00
樊渊-2026华为软件挑战赛冠军
高手来了:看软挑高手解析二维排样问题—从工业难题到算法突破
回顾中
热门标签