Tag - C# Example

C# C# Console

Display Absolute Value in C#

In mathematics, the absolute value or modulus of a real number x, denoted |x|, is the non-negative value of x without regard to its sign. Namely, |x| = x if x is positive, and |x| = −x if x is negative (in which case −x is...

C# Console

Reverse an Integer in C#

In this program you will learn how to reverse an integer number in C# language. The program takes the number by the user, then displays the reversed number on the screen. For example, if the user enters 678 as input, 876 is...

C# Console Collection

C# Dictionary Example

In this article we will talk about Dictionary which is a collection class Dynamic Size Standard arrays have a fixed size; In the programming phase, the size of the array is specified and the program’s target has been...