I've been banging .NET 3.5 lately and this rendezvouz with LINQ (Language Integrated Query) has been making my brain smile alot. I mean, how can you not like something so easy and well defined and makes your life as developer alot easier. Anyhow, I just wanted to post my LINQ cheat sheet. It's...
Posted to
Keith Rull
by
keithrull
on 12-17-2007
Filed under: Generics, List<T>, Lamda, .NET 3.5, SkipWhile, Skip, var, LINQ, Take
I was working on small project today and one of the requirements is to list down all the Mondays in a year and populate a dropdownlist with the values. It's a funny requirement but still needs to be done since the client wants it that way(Oh well, customer is always right even if it would end up...
Posted to
Keith Rull
by
keithrull
on 08-27-2007
Filed under: Generics, C#, DayOfWeek, DateTime, DateTime.Parse
I think the guys in the .NET Framework team has this thing about vanity. Yeah! I call it code vanity. Not that its bad.. but its just funny how code has been getting beautiful. more beautiful and even more beautiful as the evolution of .NET goes forward. And it's a great thing too! Here's a look...
Posted to
Keith Rull
by
keithrull
on 05-09-2007
Filed under: Generics, Fun Stuff, Lamda, Code Vanity
A few days ago we helped Rolvin sort the list of girls he wants to date .. this time we'll help him find the girls with a cuteness factor that matches his criteria. =) *To have a clearer understanding about this demo please look at my first article about Rolvin and Generics ;). A little background about...
Posted to
Keith Rull
by
keithrull
on 03-26-2007
Filed under: Generics, C#, Anonymous Delegates, List<T>, Lamda
A few weeks ago I wrote an article on how to use IComparer and how it was easy it is to create a custom comparer to sort our objects. This time we'll talk creating a default sort mechanism for our objects by using IComparer's relative, the interface IComparable. We'll also be touching Anonymous Delegates...
Posted to
Keith Rull
by
keithrull
on 03-23-2007
Filed under: .NET How To's, Generics, IComparer, Tutorial, Anonymous Delegates, List, IComparable
Don't you just love Generics? I mean, it helps you alot in so many ways that everytime you are asked about why you love Generics all you could say is "Uh, type safety?".. Err! We need to change that! There are alot more things to like about Generics than just type safety... Like code organization......
A simple demo that shows how to create a Master-Detail View in ASP.NET. Creating the underlying classes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69...
Posted to
Keith Rull
by
keithrull
on 12-26-2006
Filed under: How To, Generics, ASP.NET, Master-Detail