您好,欢迎光临本网站![请登录][注册会员]  

开发技术下载,C#下载列表 第1205页

« 1 2 ... .00 .01 .02 .03 .04 1205.06 .07 .08 .09 .10 ... 27153 »

[C#] 静态方法和非静态方法的调用.pdf

说明: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Class1 cc = new Class1(); cc.Exchange(); Exchange()
<u012088400> 上传 | 大小:141kb

[C#] 结构体2.pdf

说明: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication5 { class Program { static void Main(string[] args) { jiegouti j = new jiegouti(); j.name = "aa"; j.add =
<u012088400> 上传 | 大小:41kb

[C#] 类的构造函数赋值,最原始的版本1.0.pdf

说明: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication4 { public class Manager { #region private string name = "陈经理"; public string Name { get { return name; }
<u012088400> 上传 | 大小:168kb

[C#] 类的构造函数赋值,继承版本 this和base区别.pdf

说明: 1;可以有自己的字段的同时又继承父类 2:这里就引出this和base的区别 this.Name显示的是programmer的字段 base.Name显示的是employee的字段 3:如果子类没有自己的字段,都是继承父类的字段,那么this就代表的是父类的字段内容 4:this和base的优先级,子类有自己的字段和继承 的字段 ,默认的时this子类的字段 也就是说this>base public void programmerShow() { Console.WriteLine("程
<u012088400> 上传 | 大小:62kb

[C#] 子类调用父类的构造函数用于赋值.pdf

说明: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication6 { public class employee { #region private string name; public string Name { get { return name; } set {
<u012088400> 上传 | 大小:226kb

[C#] 虚方法和重写.pdf

说明: 在父类是virtual方法;在子类需要重写override,这样调用的子类的方法 在父类是virtual方法;在子类没有重写override,这样调用的子类的方法 public override void show() { //base.show(); Console.WriteLine("我是老师~~我的姓名" + this.Name + ",我的年龄是:" + this.Age + ",我的性别是:" + this.Gender); } base.show()调用的就是父类的方法 usin
<u012088400> 上传 | 大小:169kb

[C#] 接口和抽象方法一起继承.pdf

说明: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication7 { public interface IMove { void Move(); void Eat(); } } using System; using System.Collections.Generic;
<u012088400> 上传 | 大小:142kb

[C#] 枚举demo.pdf

说明: // NewMethod(); weekDay wd = weekDay.Monday; switch (wd) { case weekDay.Monday: Console.WriteLine("this is monday"); break; case weekDay.Saturday: Console.WriteLine("this is Saturday"); break; default: Console.WriteLine("no this day"); break; } enum
<u012088400> 上传 | 大小:42kb

[C#] C# MVC 不需要任何第三方组件预览文件

说明: 目前网上很多第三方资源都有诸多限制,要想用必需拿钱,感觉不爽;通过多方研究,本源码实现方式是把office文档转换为pdf进行预览,结果让人很满意。 注意需要引入: using Microsoft.Office.Interop.Excel; using Microsoft.Office.Interop.Word; using Microsoft.Office.Interop.PowerPoint; using Microsoft.Office.Core;
<thy77> 上传 | 大小:2kb

[C#] 集合的各种形式大全(双食记).pdf

说明: 目 录 第10章 集合 2 10.1 集合接口和类型 2 10.2 列表 4 10.2.1 创建列表 6 10.2.2 只读集合 13 10.3 队列 13 10.4 栈 17 10.5 链表 19 10.6 有序表 24 10.7 字典 26 10.7.1 键的类型 26 10.7.2 字典示例 27 10.7.3 Lookup类 30 10.7.4 其他字典类 31 10.8 HashSet 32 10.9 位数组 35 10.9.1 BitArray 35 10.9.2 BitVecto
<u012088400> 上传 | 大小:785kb

[C#] 集合anylist要进行筛选.pdf

说明: 这一节我们来学习集合,什么是集合呢? 集合就如同数组,用来存储和管理一组特定类型的数据对象,除了基本的数据处理功能,集合直接提供了各种数据结构及算法的实现,如队列、链表、排序等,可以让你轻易地完成复杂的数据操作。在使用数组和集合时要先加入system.collections命名空间,它提供了支持各种类型集合的接口及类。集合本身上也是一种类型,基本上可以将其作为用来存储一组数据对象的容器,由于c#面向对象的特性,管理数据对象的集合同样被实现成为对象,而存储在集合中的数据对象则被称为集合元素。这里
<u012088400> 上传 | 大小:194kb

[C#] 08:Hashtable的操作.pdf

说明: 哈希表的添加关键字和值在遍历输出的时候是任意的没有规律,不按顺序的 Hashtable table = new Hashtable(); table.Add("you", "你"); table.Add("and", "和"); table.Add("me", "我"); Console.WriteLine("你要翻译点什么?"); string str = Console.Re adLine(); if (table.ContainsKey(str)) {
<u012088400> 上传 | 大小:64kb
« 1 2 ... .00 .01 .02 .03 .04 1205.06 .07 .08 .09 .10 ... 27153 »