![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C# 学习
zzlzzlll
这个作者很懒,什么都没留下…
展开
-
String and Text Processing(字符串和文本处理)
有时一个值要转换成为文本格式,如int代表 std::string,或者相反,一个std::string代表一个int数值。这样的转换是很普通的,如在内部程序运行中的数据和配置文件中的数据翻译 2015-01-09 22:40:45 · 1679 阅读 · 0 评论 -
chap6 抽象数据类型
6.1 vector, list,deque vector:表示一段连续的内存区域,每个元素被顺序存储在这段内存中,所以对vector随机访问效率很高,但插入元素效率很低.deque:也表示一段连续的内存区域,与vector不同的是,它支持高效的在首部插入和删除元素.list :表示非连续的内存区域,通过指向前后元素的指针连接起来,可以向前向后两个方向进行遍历.在任意位置原创 2009-09-13 15:13:00 · 228 阅读 · 0 评论 -
Linq学习
NetFramework3.0中增加了Linq (Language Integrated Query)查询语言。一 基础知识 1.1 linq 关键词: from ,select,in,where,group by ,order by ... 1.2 linq 注意点:必须以select 或者 group by 结束. 1.3 linq 语义: from 临时变量 in 集合对象或数据库对象 where 条件表达式原创 2010-07-17 12:28:00 · 247 阅读 · 0 评论 -
C#演化类及排序
本文主要介绍 C#从2003至2010中类及排序方法的进步Product.cs:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace ConsoleApplication2{ /原创 2012-02-03 09:17:00 · 214 阅读 · 0 评论 -
C# Native and COM Interoperability
C# 调用WIN32 API 要引用 System,Ssytem.Runtim.InteropServices 两个命名空间. Calling into Native Dlls.using System;using System.Runtime.InteropServices;class MsgBoxTest{[DllImport("user32.dll")]翻译 2012-10-31 17:33:37 · 235 阅读 · 0 评论