C# program to demonstrate an example of a simple if-else statement
Syntax: C# example for the simple if-else statement: Output Enter age: 17 17 is teenage Enter first number : 120 Enter second number: 20 120 is divisible by 20
Syntax: C# example for the simple if-else statement: Output Enter age: 17 17 is teenage Enter first number : 120 Enter second number: 20 120 is divisible by 20
Syntax: Example: C# code to demonstrate the example of bitwise operators: Output:
Syntax: Example: C# code to demonstrate an example of relational operators: Output:
Syntax: Example: C# code to demonstrate an example of Equal To and Not Equal To operators: Output:
Syntax: Example: C# code to get the size of various primitive data types: Output: