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

C# design patterns

P: n/a
Greetings,

I am a database guys trying to get into C# and design patterns. I really
like the "Head first design patterns" book but don't like that it has
samples in java. Is anyone interested in re-writing all of the java
examples in c# so that the book is usable for C# stundents? I have only a
limited knowledge of both languages but would be interested in doing all of
the busy work and only need help where my skills fail to measure up. Maybe
I should just post my questions on the news group and publish my completed
samples on my website?

If so,
I am going through the first sample and am having difficulty translating the
different forms of delegation. java uses an interface to delegate while c#
has a delegate that is used with signatures. How do I take a interface
delegate in java and port the source code to use the delegate in c#?

Thanks,
Matthius
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
There's a good site here (http://www.dofactory.com/Patterns/Patterns.aspx)
that shows design patterns, with samples in C#. I don't know if this is what
you're looking for but I thought I'd pass it along.

--
Tim Wilson
..Net Compact Framework MVP

"Matthius" <mr*********@yahoo.com> wrote in message
news:OB**************@TK2MSFTNGP12.phx.gbl...
Greetings,

I am a database guys trying to get into C# and design patterns. I really
like the "Head first design patterns" book but don't like that it has
samples in java. Is anyone interested in re-writing all of the java
examples in c# so that the book is usable for C# stundents? I have only a
limited knowledge of both languages but would be interested in doing all of the busy work and only need help where my skills fail to measure up. Maybe I should just post my questions on the news group and publish my completed
samples on my website?

If so,
I am going through the first sample and am having difficulty translating the different forms of delegation. java uses an interface to delegate while c# has a delegate that is used with signatures. How do I take a interface
delegate in java and port the source code to use the delegate in c#?

Thanks,
Matthius

Nov 17 '05 #2

P: n/a
Design Patterns in C#
http://www.amazon.com/exec/obidos/AS...952322-5488036

It covers all the 23 patterns from the "Gang of Four" book in C#.

Regards,
Justin Lee
Aka triplez
Microsoft MVP - Visual Developer C#
Greetings,

I am a database guys trying to get into C# and design patterns. I
really like the "Head first design patterns" book but don't like that
it has samples in java. Is anyone interested in re-writing all of the
java examples in c# so that the book is usable for C# stundents? I
have only a limited knowledge of both languages but would be
interested in doing all of the busy work and only need help where my
skills fail to measure up. Maybe I should just post my questions on
the news group and publish my completed samples on my website?

If so,
I am going through the first sample and am having difficulty
translating the
different forms of delegation. java uses an interface to delegate
while c#
has a delegate that is used with signatures. How do I take a
interface
delegate in java and port the source code to use the delegate in c#?
Thanks,
Matthius


Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.