Wrox Programmer Forums
|
C# 2008 aka C# 3.0 Discuss the Visual C# 2008 (aka C# 3.0) language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2008 aka C# 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 30th, 2009, 08:53 AM
Authorized User
 
Join Date: Oct 2009
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Default Polymorphism

Hello all

I am new to programming and although I understand inheritance, i cannot make heads nor tails of Polymorphism and/or interface polymorphism.

Does anyone have a lamens explanation, and can you provide a basic example of where or how i would use it?

Much appreciated.

Chris
 
Old November 30th, 2009, 09:33 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Does this not provide enough examples for you: http://msdn.microsoft.com/en-us/libr...8VS.80%29.aspx

?
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
 
Old November 30th, 2009, 10:43 AM
Authorized User
 
Join Date: Oct 2009
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Default

good point, thank you!

I new MSDN existed just wasn't to sure whether it existed for this purpose.

Thanks

Chris
 
Old November 30th, 2009, 05:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

don't miss the classic "a Cat is an Animal and a Dog is an Animal" example at:

http://en.wikipedia.org/wiki/Polymor...ed_programming)
 
Old December 14th, 2009, 12:15 PM
Authorized User
 
Join Date: Oct 2009
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Default C# Beginner's Tutorials

Hi again

Just a quick query, i have searched the MSDN portal, and tried to find some beginner's tutorials, but all have video explanation, and i dont have speakers at work.

I would like to find a beginning C# programming tutorial where i can start to do some basic codes and slowly grow to understand the concepts in Wrox's Beginning Visual C#. I am struggling to conceptualise why and how classes are defined and used in C#.

Any ideas?

Thanks
Chris
 
Old December 15th, 2009, 06:11 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Can you check this

http://msdn.microsoft.com/hi-in/vcsh...68(en-us).aspx

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old December 15th, 2009, 12:21 PM
Authorized User
 
Join Date: Oct 2009
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Default C# Beginner's Tutorials

Thanks Shasur, but i have seen these already, and only a very basic example is provided. I would like to start developing a bit more advanced app, say for an intermediate programmer.

Do you have any ideas of some examples?
 
Old December 17th, 2009, 02:57 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

Probably the following might suit you

http://www.codeproject.com/?cat=3

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)





Similar Threads
Thread Thread Starter Forum Replies Last Post
need of polymorphism? pavanonforums C++ Programming 4 February 22nd, 2018 03:36 AM
Polymorphism -- Help Me Please rlynx BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 4 October 18th, 2009 06:56 AM
Need help with Polymorphism Piash Java Basics 1 August 8th, 2007 05:24 AM
What is Interface Polymorphism in C#? ramk_1978 C# 1 May 3rd, 2006 01:23 AM
Polymorphism and Casts g_r BOOK: Beginning Java 2 1 July 13th, 2003 08:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.