
C#
文章平均质量分 81
_yshuai
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Strong Typing
C is a weakly typed language, that is, the compiler allows operations such as assignment and comparison among variables of different types. For example, C allows the value of a variable to be cast to转载 2011-11-14 09:30:50 · 686 阅读 · 0 评论 -
谈谈.Net技术面试 --- 自cnblogs.com
源地址: http://kb.cnblogs.com/page/101003/作者: bigmonster 来源:博客园 发布时间: 2011-05-15 09:23 阅读: 4971 次 原文链接 全屏阅读 [收藏] 1、引子 最近一直在负责.net(B/S方向)技术面试相关的工作,前前后后面试了不少人,但是通过率较低,大概只有20%左右;有转载 2011-12-31 16:36:23 · 796 阅读 · 0 评论 -
C# Heap(ing) Vs Stack(ing) in .NET: Part I
Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the转载 2011-11-14 09:56:01 · 387 阅读 · 0 评论 -
Introducing Windows Communication Foundation in .NET Framework 4
http://msdn.microsoft.com/library/ee958158.aspx ================================================================转载 2011-11-15 00:30:56 · 339 阅读 · 0 评论 -
C#复习之一
1, 托管执行和公共语言基础结构: 处理器不能直接解释一个程序集。程序集采用的是另一种语言,即公共中间语言(Common Intermediate Language, CIL),或者简称为中间语言(IL)。 C#编译器只是将C#源代码文件转换成这种中间语言。为了将CIL代码转换成处理器能够理解的机器码,还要执行一个额外的步骤(该步骤通常是在执行时完成的)。这个步骤涉及C#程序执原创 2011-11-10 12:56:49 · 366 阅读 · 0 评论 -
Did the Microsoft Stack Kill MySpace?
Did the Microsoft Stack Kill MySpace?Friday, March 25, 2011 at 9:30AM Robert Scoble wrote a fascinating case study,MySpace’s death spiral: insiders say it’s due to bets on Los Angeles and转载 2011-11-26 20:18:31 · 1516 阅读 · 0 评论 -
Singleton in C#
知道以下的概念将会对学习下面两篇文章非常有帮助 1, 序列化(http://msdn.microsoft.com/en-us/library/7ay27kt9(v=VS.80).aspx) 2, volatile关键字的用法(http://msdn.microsoft.com/en-us/library/x13ttww7(v=VS.80).aspx)转载 2011-11-19 20:08:54 · 337 阅读 · 0 评论 -
记录之new运算符的实现细节 --- From 《Essential C# 4.0》
“在内部,new运算符和构造器是像下面这样交互的。new运算符从内存管理器获取内存,然后调用指定的构造器,将初始化好的内存传给构造器。接着,构造器链剩余的部分开始执行,在构造器之间传递初始化好的内存。这些构造器都没有返回类型。构造器链上的执行结束后,new运算符返回内存引用,它指向的内存处于初始化好的形式。”我想这句话应该可以解释“为什么构造器没有返回值”这个问题了吧!转载 2011-11-17 23:09:05 · 381 阅读 · 0 评论 -
C#中的is和as
作用:is: 检查一个对象是否兼容于指定的类型,并返回一个Boolean值:true或false。 并且,is操作符永远不抛出异常as:检查一个对象是否兼容于指定的类型,如果是返回对象本身,如果不是,则返回null。 as操作符同样不抛出异常比较:Example1:if ( o is Employee ) { Employee e = (Employee)原创 2011-11-17 23:48:24 · 369 阅读 · 0 评论 -
Refactoring C# Code Using Visual Studio 2005 ----MSDN
Refactoring C# Code Using Visual Studio 2005 Visual Studio 2005Andrew W. Troelsen, Microsoft MVPIntertech TrainingJuly 2004Applies to: Microsoft Visual Studio 2005转载 2012-01-02 18:28:29 · 2125 阅读 · 0 评论