DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

Stories recently tagged with 'Generics' Subscribe to this feed
14
kicks
published 2 months, 14 days ago, submitted by dcarr dcarr 2 months, 14 days ago

blog.domaindotnet.com — Linq is not just about databases. It’s about reading the registry, your hard-disk, or even a list of function pointers to be invoked. Linq is about more event then sets (collections). It’s about making tasks easier in many cases and vastly more powerful (and most importantly your code more readable and maintainable at the same time). It’s astounding just how fast the HashSet<T> collection is. This post will show how to gain additional power that is fully supported from Microsoft which is often overlooked, yet it can solve some of the hardest problems (especially around performance however don’t prematurely optimize!). Linq, HashSet, ORM, NHibernate, Linq to NHibernate, Linq Undocumented, Functional Programming, .NET 3.5 read more...

Add a comment 3 comments | category: | Views: 358
tags: , , , , | tag it

2
kicks
submitted by JamesCurran2 2 months, 28 days ago

honestillusion.com — There are 3 very handy list functions which make dealing with lists a breeze: Map, Filter and Reduce. But along the way of writing them, an important principle of IEnumerator<> comes up. read more...

Add a comment add a comment | category: | Views: 16
tags: , , , , | tag it

11
kicks
published 3 months, 24 days ago, submitted by razamit 3 months, 24 days ago

dev102.com — Have you ever tried to create a DataTemplate for a Generic Class? Here is how you do it. read more...

tags: , , | tag it

3
kicks
submitted by rprouse rprouse 4 months, 2 days ago

alteridem.net — The latest in a series of posts exploring how we can reduce the grunt work in copying data between the data layer classes and the user interface classes. This uses a fluent interface to copy all of the data in one line of code rather than property by property. read more...

Add a comment add a comment | category: | Views: 9
tags: , , , | tag it

3
kicks
submitted by samuel_d_jack 4 months, 16 days ago

managed-world.com — A nice implementation of the Command pattern using generics and lambdas read more...

Add a comment add a comment | category: | Views: 18
tags: , , | tag it

18
kicks
published 5 months, 26 days ago, submitted by activa activa 5 months, 28 days ago

blog.activa.be — Value types can sometimes cause unexpected behavior. This post explains one of the pitfalls you can encounter when using arrays and lists of value types. read more...

Add a comment 1 comment | category: | Views: 324
tags: , , , | tag it

17
kicks
published 6 months, 2 days ago, submitted by activa activa 6 months, 2 days ago

blog.activa.be — This is another one in the series "heck, I never thought of that"... Like most of these articles, if you already knew this trick, ignore me... read more...

Add a comment 2 comments | category: | Views: 506
tags: , | tag it

5
kicks
submitted by yoavsion yoavsion 6 months, 25 days ago

sharpregion.com — Feeling ashamed for keeping your clients waiting until your code finally constructs your heavy classes/forms? This utility instantiates objects in a background thread and aspires to always be "full" to the capacity requested. Useful in cases the object being constructed uses many resources and is consumed frequently. read more...

Add a comment add a comment | category: | Views: 1
tags: , , | tag it

2
kicks
submitted by jacobcarpenter 8 months, 17 days ago

jacobcarpenter.wordpress.com — A generic technique for parameter types influencing subsequent parameter types. read more...

Add a comment add a comment | category: | Views: 1
tags: , | tag it

1
kicks
submitted by hgarcia 10 months, 2 days ago

blog.latrompa.com — Jeffrey Palermo postes about replacing the ViewData on the MVC framework with a generic container called SmartBag. I made a small modification of the code to deal with the 20% of cases stated on the post. Here is the code with those changes. read more...

Add a comment add a comment | category: | Views: 1
tags: , , , , | tag it

19
kicks
published 10 months, 13 days ago, submitted by TroyMG TroyMG 10 months, 15 days ago

squaredroot.com — Want to use strongly typed ViewData in your view without a code-behind file? It isn't quite as straight-forward as you'd think. Read on for the answer and a quick lesson in how the CLR interacts with generics. read more...

Add a comment 5 comments | category: | Views: 38
tags: , , , , | tag it

17
kicks
published 10 months, 19 days ago, submitted by cls2deg cls2deg 10 months, 21 days ago

diditwith.net — A wild ride through theoretical implementations of Cons, Car and Cdr in Scheme, followed by implementations in C# 3.0 and VB 9. Guaranteed to stretch your mind. read more...

Add a comment 2 comments | category: | Views: 3
tags: , , , , | tag it

1
kicks
submitted by crpietschmann crpietschmann 1 year ago

weblogs.asp.net — Since the release of .NET 2.0 and ASP.NET 2.0 I was very disappointed that new language power of C# 2.0 is not available for ASP.NET developers. It was stressed at the time of release by multiple people (see here, here and here). While generic classes are not supported in ASP.NET markup in general, it seemed to me that it is still possible to benefit from generic in ASP.NET in many cases. read more...

Add a comment add a comment | category: | Views: 4
tags: , | tag it

14
kicks
published 1 year, 1 month ago, submitted by Jachman 1 year, 1 month ago

jachman.wordpress.com — C# Generics are powerful, but there are not many generic classes beyond List and Dictionary. Especially for Set Operations Generics are missing. That’s whay I created a small class for Set Operations called Set that contains the basic Set Operations, like Union, Intersect and Difference. read more...

Add a comment 1 comment | category: | Views: 15
tags: , | tag it

2
kicks
submitted by vbnotebook 1 year, 1 month ago

vbnotebookfor.net — You probably know that Generics, introduced to VB.NET in the .NET Framework 2.0, provide type safe Lists, Dictionaries, Stacks, Queues and other objects. But, did you know that you can use the same technique to build your own type safe functions? In this article, we’ll look at some of the basics of doing this. read more...

Add a comment add a comment | category: | Views: 0
tags: , | tag it

1
kicks
submitted by keyvan keyvan 1 year, 1 month ago

nayyeri.net — In this post you learn how to test generic lists in .NET with two approaches. read more...

Add a comment add a comment | category: | Views: 2
tags: , , , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge