As we use multicast delegates to have multiple function get called as soon as delegate is called upon. In good practice, we call these kinds of delegates in case functions not returning any value; if there are then we should make use of multicast events in place of delegates calling the functions. But if we [...]
Archive for September, 2008
Multicast delegate returning value – .Net C#
Posted in .Net 2.0 on September 15, 2008 | Leave a Comment »
Yield Statement in C# (Useful LINQ statement)
Posted in .Net 2.0, tagged LINQ on September 12, 2008 | 2 Comments »
Many times we need to collect a number of results depending upon certain conditions. And for that we need to create some sort of collection objects, inserting the output to that collection and then returing that collection at last. But it is very cumbersome to do that. Rather a simple way to do that is [...]
Modifying the Data Type of a column having data
Posted in SQL Server on September 11, 2008 | Leave a Comment »
Some times we need to modify/broaden the data type of a data column which at the time of creation we thought of having small range/values. But later on, there is demand for that column to accomodate the larger range of values. There can be some points which need to be looked into before modifying any [...]