
- C# Basic Tutorial
- C# - Home
- C# - Overview
- C# - Environment
- C# - Program Structure
- C# - Basic Syntax
- C# - Data Types
- C# - Type Conversion
- C# - Variables
- C# - Constants
- C# - Operators
- C# - Decision Making
- C# - Loops
- C# - Encapsulation
- C# - Methods
- C# - Nullables
- C# - Arrays
- C# - Strings
- C# - Structure
- C# - Enums
- C# - Classes
- C# - Inheritance
- C# - Polymorphism
- C# - Operator Overloading
- C# - Interfaces
- C# - Namespaces
- C# - Preprocessor Directives
- C# - Regular Expressions
- C# - Exception Handling
- C# - File I/O
- C# Advanced Tutorial
- C# - Attributes
- C# - Reflection
- C# - Properties
- C# - Indexers
- C# - Delegates
- C# - Events
- C# - Collections
- C# - Generics
- C# - Anonymous Methods
- C# - Unsafe Codes
- C# - Multithreading
- C# Useful Resources
- C# - Questions and Answers
- C# - Quick Guide
- C# - Useful Resources
- C# - Discussion
C# Numeric Promotion
Numeric promotion as the name suggests is the promotion of smaller types to larger types like short to int.
In the below example, we have seen numeric promotion in Arithmetic Operator multiply.
The short types are automatically promoted to larger types −
Example
using System; class Program { static void Main() { short val1 = 99; ushort val2 = 11; int res = val1 * val2; Console.WriteLine(res); } }
- Related Articles
- C# Numeric Promotion for Conditional Expression
- Java Numeric Promotion in Conditional Expression
- What is Promotion Mix?
- C# Numeric (“N”) Format Specifier
- Constructor Property Promotion in PHP 8
- Government Policies for Promotion of Entrepreneurship
- method overloading and type promotion in Java
- Manipulate decimals with numeric operators in C#
- Program to print numeric pattern in C
- Self-Promotion in the Age of Electronic Media
- Which is the popular event promotion website in Hyderabad?
- How to check if input is numeric in C++?
- C++ Program to Check if a String is Numeric
- Python Numeric Types
- Perl Numeric Scalars

Advertisements