Category: "Announcements [B]"
Threading in .Net is simple
Thread is very simple. Only need to put the method name and use "Start" method.
Thread thread= new Thread(new ThreadStart(class1.Test2));
thread.Start();
There is an exmple, click here
Simple Clock - C# Example Codes
I wrote a little example. This example is to demostrate how to set the time zone/
Generic Collections
In .Net 2.0, they introduced Generic Collections. You are able to put a type of object in an array list. For example , ArrayList <Cat> list = new ArrayList <Cat> In this list, all of objects are the instances of Cat Object. We do not need to casting the item and type safe in this list. But in the past time, I like to put a mixture of object types in an array list. Loop out each item and check its type. I used that a lot, when I parse the object from database and do some data mining tools.(Well, I did it in my spare time, of couse , not at work).I think this is a time to change this habit. This is a kind of hack.
New MS C# Exam
Miscrosoft has lanched their new set of C# exam
Microsoft Certified Professional Developer (MCPD)
DataGird
DataGird is a very useful in .Net.
But this is not very flexibility.
Today, I have spent an hour to find a solution to a customized button in DataGird.
Finally, this is better to use some javascripts.