.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

TypeCasting Problem

Posted By: PankajGupta     Posted Date: July 22, 2009    Points:2   Category :C#
What is Typecasting and how many types of Typecasting Exits?

Author: Akhil Raj       [Moderator]      
Posted Date: July 22, 2009     Points: 5   

Check the following article.


Author: Syed Shakeer Hussain             
Posted Date: July 22, 2009     Points: 5   


Converting a variable of one data type to another data type is called casting. This is also called as data type conversion
There are two type of cating
1)Explicit conversions
2)Implicit conversions

1. Explicit conversions require a cast operator where as an implicit converstion is done automatically.
2. Explicit conversion can lead to data loss where as with implicit conversions there is no data loss

Author: PankajGupta             
Posted Date: July 30, 2009     Points: 5   

thank you syed and akhil for your help.

@ Syed,
Hi Syed, Can You please tell me what is the meaning of cast operator?

Indian Search Engine Optimization Forum

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend