Glossary:Definition - Cast

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
 Term Cast
 Definition  Conversion of a value from one type to another. Explicit casting is hard coded in the program using the cast operator—parentheses in C#. Explicit casting is required when the conversion involves possible loss of data—e.g., converting a 32-bit integer to a 16-bit short value. Implicit casting is performed invisibly by the compiler when the no data loss is possible—e.g., converting a 16-bit short to a 32-bit integer value.
 See also
You may edit this definition to improve or extend it.

Online Dictionary of Visual C# .NET Programming
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0-9
a free glossary of C# .NET terminology from C# Online.NET edit

Personal tools