Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace THEBIG
- {
- class Typy_danych
- {
- static void Main(string[] args)
- {
- int intA = 3;
- float floatA = 3.14f;
- string strA = "hello";
- bool boolA = true;
- long long2A = 1234567890;
- char charA = 'Z';
- Console.WriteLine(intA);
- Console.WriteLine(floatA);
- Console.WriteLine(strA);
- Console.WriteLine(boolA);
- Console.WriteLine(long2A);
- Console.WriteLine(charA);
- Console.ReadLine();
- }
- }
- class Tablice
- {
- static void Main2(string[] args)
- {
- int[] Tablica = { 1,2,3,4,5};
- int dlugosc = Tablica.Length;
- Console.WriteLine(Tablica);
- Console.WriteLine("JOHN");
- Console.WriteLine(dlugosc);
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement