Presentation is loading. Please wait.

Presentation is loading. Please wait.

C# Revision Cards Data types

Similar presentations


Presentation on theme: "C# Revision Cards Data types"— Presentation transcript:

1 C# Revision Cards Data types
Integer – Whole numbers e.g. -245, 45, 0 etc. Syntax

2 C# Revision Cards Data types
Real numbers – Numbers with decimals, e.g. 4.56, Syntax

3 C# Revision Cards Data types
Strings – Any form of text e.g. “Hello Bob”, “Hello 123!” Syntax

4 C# Revision Cards Data types
DateTime – A date or time e.g. 12/12/12 00:00:00 Syntax

5 C# Revision Cards Data types Boolean – A true or false value. Syntax

6 C# Revision Cards Data types
Characters – A single character e.g. ‘C’, ‘D’, ‘e’. Syntax

7 C# Revision Cards Data types
Constants – Values of any data type that are unlilkely to change but are useful for the program – e.g. Pi = 3.14 Syntax


Download ppt "C# Revision Cards Data types"

Similar presentations


Ads by Google