ArrayList实现了System.Collections空间下的IEnumerable接口,这个接口是非泛型的。如果要使用LINQ,必须声明枚举变量的类型,依赖Cast查询运算符转换枚举类型。 using System; using System.Collections; using Syste ...
分类:
其他好文 时间:
2020-03-06 01:22:46
阅读次数:
74
winform应用程序是一种智能客户端技术,可以使用其来帮助我们获得信息或传输信息。 XAML VS中新建窗体应用程序 程序入口 Program.cs using System; using System.Collections.Generic; using System.Linq; using S ...
说明:一个用C#编写的WebAPI操作类,只写了Get Post 部分。 using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.L ...
一、ArrayList概述 ArrayList是基于数组实现的,是一个动态的数字,可以自动扩容。 ArrayList不是线程安全的,效率比较高,只能用于单线程的环境中,在多线程环境中可以使用Collections.synchronizedList(List list)函数返回一个线程安全的Array ...
分类:
编程语言 时间:
2020-03-05 13:43:39
阅读次数:
79
一、关于集合工具类 java.utils.Collections; Collections工具类可以对List集合中的元素进行排序,但是集合中的元素必须是“可以比较的”,实现Comparable接口。 package com.bjpowernode.java_learning; import jav ...
分类:
编程语言 时间:
2020-03-05 01:19:06
阅读次数:
75
以上是代码 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication ...
分类:
编程语言 时间:
2020-03-05 00:49:21
阅读次数:
87
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; usi ...
分类:
数据库 时间:
2020-03-04 12:39:32
阅读次数:
108
C#史上最简单读写xml文件方式,创建控制台应用程序赋值代码,就可以运行,需要改动,请自行调整 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; ...
一直是个痛点,这次解决了, ugui通用 using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; /// <summary> /// UGUI页签管理器 /// ...
分类:
其他好文 时间:
2020-03-02 23:21:00
阅读次数:
112
--AdminDal.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data; //包含Ado.Net的各类数据对象;using System.Data ...
分类:
数据库 时间:
2020-03-02 20:25:19
阅读次数:
80