fork download
  1. using System;
  2. public class Test
  3. {
  4. public static void Main()
  5. {
  6. Int32 zahl = 61;
  7. String text = GetInfo(zahl);
  8. Console.WriteLine(text);
  9. }
  10.  
  11.  
  12. public static String GetInfo(Int32 Param)
  13. {
  14. System.Globalization.CultureInfo CInfo;
  15. Double divi = 1000.0;
  16. String fmt = "000";
  17. String txt = String.Empty;
  18. byte[] textfeld = {0x43, 0x61, 0x63, 0x68, 0x65, 0x20, 0x66,
  19. 0x69, 0x6e, 0x64, 0x65, 0x74, 0x20};
  20. String test = "Fritz jagt im komplett verwahrlosten Taxi quer durch Bayern";
  21. Int32 vA = 0x05, vB = 0x6AF, vC = 0x02, vD = 0x145;
  22. Int32 B1 = 'D', D1 = 's', pNum = D1 + test.Length + vD + Param;
  23.  
  24. CInfo = System.Globalization.CultureInfo.InvariantCulture;
  25. txt += Convert.ToChar('A' + 'Q' - 'N').ToString() + test.Substring(34, 3);
  26. txt = String.Concat(txt, test.Substring(test.IndexOf('w') + 2, 2), " in");
  27. txt = txt.Insert(4, System.Text.Encoding.GetEncoding(1251).GetString(textfeld));
  28. txt = String.Concat(txt, test.Substring(test.LastIndexOf(' ')), " bei ");
  29. txt = txt.Insert(0x11, "i");
  30. txt += test.Substring(test.Length - 1, 1).ToUpper() + txt[ 8 ].ToString().ToUpper();
  31. txt = txt.Insert(txt.Length - 1, ('§' - 'w').ToString());
  32. txt += ('§' - 0x25a6 / Param + vC).ToString(fmt) + ((char)0xb0).ToString();
  33. txt += Convert.ToChar('A' - 0x49 + Param).ToString() + ('-' - '+').ToString();
  34. txt = txt.Insert(txt.IndexOf((char)0x45), ((char)0xb0).ToString()
  35. + Convert.ToChar(49).ToString() + (0x11 - 0x0e + vA).ToString()
  36. + ((char)0x2e).ToString());
  37. txt = txt.Insert(txt.IndexOf('E'), (B1 - 1280 + vB).ToString(fmt + " "));
  38. txt += (pNum / divi).ToString("." + fmt, CInfo);
  39.  
  40. return txt;
  41. }
  42.  
  43.  
  44.  
  45. }
Success #stdin #stdout 0.06s 28744KB
stdin
Standard input is empty
stdout
Den Cache findet ihr in Bayern bei N48°18.499 E011°52.560