Initial commit
This commit is contained in:
17
2.1-DataTypes/DataTypes.cs
Normal file
17
2.1-DataTypes/DataTypes.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
class DataTypes {
|
||||
public static void Main() {
|
||||
short litet = 5325;
|
||||
int medel = 75475;
|
||||
long stort = 5432432;
|
||||
float pi = 3.14159f;
|
||||
bool gubbe = true;
|
||||
|
||||
Console.WriteLine("Litet: " + litet);
|
||||
Console.WriteLine("Medel: " + medel);
|
||||
Console.WriteLine("Stort: " + stort);
|
||||
Console.WriteLine("Pi: " + pi);
|
||||
Console.WriteLine("Gubbe: " + gubbe);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user