By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,362 Members | 1,791 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,362 IT Pros & Developers. It's quick & easy.

Article updated: generics in C# 2.0

P: n/a
Hello,

I updated my article on generics with databinding and serialization/
deserialization.

Summary: Generics are one of the most useful improvements in the .NET
2.0 framework. In this article I start with pointing out the
disadvantages of using the classical arrays and .NET collections, and
then I show you how generics provide a nice and elegant way of
creating flexible and performant strongly typed collections with
sorting capabilities. I also explain the use of predicates to
implement custom behavior, and how you can create your own generic
classes. Along the way constraints, generic methods, properties and
interfaces are explained. Finally I demonstrate how you can data bind
a generic collection to a DataGridView control and how to serialize/
deserialize the collection.

The article in pdf format and all source code is available for
download here: http://coders-lab.dnn-portal.com/Def...px?tabid=16942.

I don't have it available in html format yet, if anyone has a tool to
convert a word document to html, please let me know!

All other feedback is also appreciated!

Kind regards,
Ludwig Stuyck

Mar 1 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a

Great Stuff Ludwig ,

Thanks.......for the original article and the update.

Its definately my "go to" source for working with generics.

Sloan
--------------
http://sholliday.spaces.live.com/blog/


<lu***********@coders-lab.bewrote in message
news:11**********************@t69g2000cwt.googlegr oups.com...
Hello,

I updated my article on generics with databinding and serialization/
deserialization.

Summary: Generics are one of the most useful improvements in the .NET
2.0 framework. In this article I start with pointing out the
disadvantages of using the classical arrays and .NET collections, and
then I show you how generics provide a nice and elegant way of
creating flexible and performant strongly typed collections with
sorting capabilities. I also explain the use of predicates to
implement custom behavior, and how you can create your own generic
classes. Along the way constraints, generic methods, properties and
interfaces are explained. Finally I demonstrate how you can data bind
a generic collection to a DataGridView control and how to serialize/
deserialize the collection.

The article in pdf format and all source code is available for
download here: http://coders-lab.dnn-portal.com/Def...px?tabid=16942.

I don't have it available in html format yet, if anyone has a tool to
convert a word document to html, please let me know!

All other feedback is also appreciated!

Kind regards,
Ludwig Stuyck

Mar 1 '07 #2

P: n/a
>I don't have it available in html format yet, if anyone has a tool to
convert a word document to html, please let me know!
Other than File, Save As... and chosing HTML format? Sure, the
resulting HTML looks terrible and might not render correctly in all
browsers, but it's worth a try.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Mar 1 '07 #3

P: n/a
Ram
On Mar 2, 2:07 am, Mattias Sjögren <mattias.dont.want.s...@mvps.org>
wrote:
I don't have it available in html format yet, if anyone has a tool to
convert a word document to html, please let me know!

Other than File, Save As... and chosing HTML format? Sure, the
resulting HTML looks terrible and might not render correctly in all
browsers, but it's worth a try.

Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.orghttp://www.msjogren.net/dotnet/|http://www.dotnetinterop.com
Please reply only to the newsgroup.
Great work Ludwig...Keep posting many such useful articles..

Thanks and Regards,
Ram

Mar 2 '07 #4

P: n/a
On 1 Mar., 14:05, ludwig.stu...@coders-lab.be wrote:
Hello,

I updated my article on generics with databinding and serialization/
deserialization.

Summary: Generics are one of the most useful improvements in the .NET
2.0 framework. In this article I start with pointing out the
disadvantages of using the classical arrays and .NET collections, and
then I show you how generics provide a nice and elegant way of
creating flexible and performant strongly typed collections with
sorting capabilities. I also explain the use of predicates to
implement custom behavior, and how you can create your own generic
classes. Along the way constraints, generic methods, properties and
interfaces are explained. Finally I demonstrate how you can data bind
a generic collection to a DataGridView control and how to serialize/
deserialize the collection.

The article in pdf format and all source code is available for
download here:http://coders-lab.dnn-portal.com/Def...px?tabid=16942.

I don't have it available in html format yet, if anyone has a tool to
convert a word document to html, please let me know!

All other feedback is also appreciated!

Kind regards,
Ludwig Stuyck
Really great article, Ludwig!
It's the first time I really understood how generics can be used. You
should get a blog and post your articles there!

- Dan

Mar 2 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.