Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The process of changing a value from one data type to another type is called conversion. Conversions are either widening or narrowing, depending on the data capacities of the types involved. They are also implicit or explicit, depending on the syntax in the source code.
Widening and Narrowing Conversions
Explains conversions classified by whether the destination type can hold the data.
Implicit and Explicit Conversions
Discusses conversions classified by whether Visual Basic performs them automatically.
Conversions Between Strings and Other Types
Illustrates converting between strings and numeric, Boolean
, or date/time values.
How to: Convert an Object to Another Type in Visual Basic
Shows how to convert an Object
variable to any other data type.
Array Conversions
Steps you through the process of converting between arrays of different data types.
Data Types
Introduces the Visual Basic data types and describes how to use them.
Data Types
Lists the elementary data types supplied by Visual Basic.
Troubleshooting Data Types
Discusses some common problems that can arise when working with data types.
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Convert data types using casting and conversion techniques in C# - Training
Explore using C# techniques for casts and conversions.
Documentation
Implicit and Explicit Conversions - Visual Basic
Learn more about: Implicit and Explicit Conversions (Visual Basic)
Troubleshooting Data Types - Visual Basic
Learn more about: Troubleshooting Data Types (Visual Basic)
Efficient Use of Data Types - Visual Basic
Learn more about: Efficient Use of Data Types (Visual Basic)