Tag: C# basics

First C# Project

Make sure that you have installed visual studio 2013. Open visual studio 2013 by double click on it, create a new project (File -> New -> Project) [Fig: 1.1], then go to (installed -> Templates -> Visual C#) now in center window select [Console Application] option then enter a name and location for your project […]

Posted in: C# Basics, C#.NET

C# Data Types

Data types are used to represent the data or information of different things in real world, (e.g.) Product names, user names, records etc. It defines the information of different things with different data, such as mobile no., website name, student grade, value of PI in mathematics, laptop price etc. According to above points, mobile no […]

Posted in: C# Basics, C#.NET

C# Value Types

In value type, a variable contains an actual value such as 3.14 or 100. They are called simple types because they hold a single value and do not hold multiple values. They are also called primitive types. Int, double, float etc is value types. Following are the Value Types: Integers Floating Points Decimal Character Bool

Posted in: C# Basics, C#.NET

C# Integers

They contains whole number values (e.g.: 100, 200 etc). It is used to store whole, signed and unsigned numeric values. This data type mostly used in C # for mathematical calculations such as (+, – , *, /) etc. In C# int data type is being mostly used in many cases. Difference between signed and […]

Posted in: C# Basics, C#.NET

C# Floating Points

They contain fractional points values (e.g.: 1.80, 3.14 etc). This type is being used to store fractional point values. This type is especially useful for mathematical problems such as gravity of earth, pi value etc. In C# double data type is being mostly used in many cases because it has a greater range than float. […]

Posted in: C# Basics, C#.NET

C# Decimal

Decimal data type is used for monetary calculations. It is being used for computations that involve money. It is used for financial calculations, such as calculations discount prices, percentages etc. The value which is being stored in decimal must be suffixed with character (m) (e.g.: 12.22m). DATA TYPE WIDTH IN BITS RANGE decimal 128 1Eā€“28 […]

Posted in: C# Basics, C#.NET

C# Character

Used to store an unsigned single character. In c# Char supports both ASCII and UNICODE characters. We can store any character in char data type such as (ā€˜Lā€™,’$’,’4′) etc. Char uses single quotations for store a character. DATA TYPE WIDTH IN BITS RANGE char 16 0 TO 127

Posted in: C# Basics, C#.NET

C# bool

The bool type represents true / false values. Two reserved keywords are used to store in bool that are true and false. bool data type is used for logical programs. DATA TYPE DESCRIPTION bool Represents true / false values.

Posted in: C# Basics, C#.NET
Have a natural attraction for women cosmetics and replica watches uk clothes, no
more than two for men the most attractive one, is to make their own driving experience, happy and can serve as the facade of the car, another is to highlight the taste edify sentiment rolex replica watch. The replica rolex is undoubtedly the most fashionable accessories, wear a suit to attend the activities, but also get a decent match on the replica watches .