摘要:
Reference from http://www.c-sharpcorner.com/UploadFile/rajeshvs/PropertiesInCS11122005001040AM/PropertiesInCS.aspxIn C#, properties are nothing but natural extension of data fields. They are usually k... 阅读全文
2010年12月2日 #
摘要:
ALTER TABLE xxx ADD xx INT DEFAULT(0) 阅读全文
摘要:
CREATE UNIQUE CLUSTERED INDEX xxxx_Row_Index ON [xxx].[xxxxx](RowID ASC)GO Select newid() RowID, xx, xx, xxinto xxx 阅读全文
2010年12月1日 #
摘要:
The virtual keyword is used to modify a method, property, indexer or event declaration, and allow it to be overridden in a derived class. For example, this method can be overridden by any class that i... 阅读全文
摘要:
select * from table1inner join table2inner join table3 on table2.id=table3.id on table1.id=table3.idwhere ...order by 阅读全文
2010年11月30日 #
摘要:
CodeFile="" which is using on aspx and aspx.cs working togetherCodeBehind='' which belonngs to web application. 阅读全文
2010年11月29日 #
摘要:
The System.Collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.Classes http://msdn.micr... 阅读全文
摘要:
在开发中经常会遇到线程的例子,如果某个后台操作比较费时间,我们就可以启动一个线程去执行那个费时的操作,同时程序继续执行。在某些情况下可能会出现多个线程的同步协同的问题,下面的例子就展示了在两个线程之间如何协同工作。 这个程序的思路是共同做一件事情(从一个ArrayList中删除元素),如果执行完成了,两个线程都停止执行。 代码如下: usingSystem; usingSystem.Collect... 阅读全文
摘要:
The enum keyword is used to declare an enumeration, a distinct type consisting of a set of named constants called the enumerator list. Every enumeration type has an underlying type, which can be any i... 阅读全文
摘要:
I'm gradually moving all my C# articles to the web site for my book, C# in Depth. This article has already moved. I'm leaving the content here so that existing links still work, but I won't be updatin... 阅读全文