TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About downcasting
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Scott Lysle (2)
Phil Curnow (1)
Related resources for downcasting
No resource found
Polymorphism, Up-casting and Down-casting
1/12/2022 9:05:32 AM.
This article gives an introduction to polymorphism in C#. Using the example created in this introduction, the article then goes on to describe how we up-cast and down-cast objects.
Downcasting in Visual Basic.NET
11/9/2012 6:32:54 AM.
This article describes a simple approach to downcasting in Visual Basic; downcasting merely refers to the process of casting an object of a base class type to a derived class type.
Downcasting in C#
3/2/2009 12:13:35 AM.
This article describes a simple approach to downcasting in C#; downcasting merely refers to the process of casting an object of a base class type to a derived class type. Upcasting is legal in C# as the process there is to convert an object of a derived class type into an object of its base class type. In spite of the general illegality of downcasting you may find that when working with generics it is sometimes handy to do it anyway.