Advertisement
Guest User

Łączenie zadań

a guest
Jan 23rd, 2017
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace THEBIG
  8. {
  9. class Typy_danych
  10. {
  11. static void Main(string[] args)
  12. {
  13. int intA = 3;
  14. float floatA = 3.14f;
  15. string strA = "hello";
  16. bool boolA = true;
  17. long long2A = 1234567890;
  18. char charA = 'Z';
  19. Console.WriteLine(intA);
  20. Console.WriteLine(floatA);
  21. Console.WriteLine(strA);
  22. Console.WriteLine(boolA);
  23. Console.WriteLine(long2A);
  24. Console.WriteLine(charA);
  25. Console.ReadLine();
  26. }
  27. }
  28. class Tablice
  29. {
  30. static void Main2(string[] args)
  31. {
  32. int[] Tablica = { 1,2,3,4,5};
  33. int dlugosc = Tablica.Length;
  34. Console.WriteLine(Tablica);
  35. Console.WriteLine("JOHN");
  36. Console.WriteLine(dlugosc);
  37. Console.ReadLine();
  38. }
  39. }
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement