![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#基础知识
文章平均质量分 71
街角的夜
这个作者很懒,什么都没留下…
展开
-
C#索引器的详细用法
C#索引器原创 2016-01-19 10:29:31 · 381 阅读 · 0 评论 -
委托使用心得
非静态方法的委托使用实例 //声明一个代理 返回类型为void 当然也可以为 int string bool...//必须要注意的一点:声明委托的时候委托的参数类型和个数要与方法的参数类型个数一致delegate void Eat(string fruit); class Program { static void Main(string[] ar原创 2015-11-03 18:44:33 · 286 阅读 · 0 评论 -
如何使用List类内部方法计算List元素之和
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ partial class Program {原创 2016-09-04 10:55:20 · 4330 阅读 · 0 评论 -
判断集合中的元素是否为某个类型或者存在某种类型
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ partial class Program {原创 2016-09-04 11:27:00 · 3714 阅读 · 0 评论