Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2008 > C# 2008 aka C# 3.0
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 30th, 2009, 08:53 AM
Authorized User
 
Join Date: Oct 2009
Location: London
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
  #2 (permalink)  
Old November 30th, 2009, 09:33 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
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?
  #3 (permalink)  
Old November 30th, 2009, 10:43 AM
Authorized User
 
Join Date: Oct 2009
Location: London
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
  #4 (permalink)  
Old November 30th, 2009, 05:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
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)
  #5 (permalink)  
Old December 14th, 2009, 12:15 PM
Authorized User
 
Join Date: Oct 2009
Location: London
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
  #6 (permalink)  
Old December 15th, 2009, 06:11 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
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)
  #7 (permalink)  
Old December 15th, 2009, 12:21 PM
Authorized User
 
Join Date: Oct 2009
Location: London
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?
  #8 (permalink)  
Old December 17th, 2009, 02:57 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
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)
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:15 PM.


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