Advertisement
samr_

ComplicatedHelloWorld.cs

Sep 24th, 2021 (edited)
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.11 KB | None | 0 0
  1. using System;
  2. using System.Threading;
  3. using System.Xml;
  4.  
  5. class ComplicatedHelloWorld
  6. {
  7.   string Qwerty = "o, W";
  8.     static void ReallyImportantFunction(char e)
  9.     {
  10.         Console.Write("H");
  11.         Console.Write(Convert.ToString(e));
  12.     }
  13.   string Method()
  14.   {
  15.     return "or";
  16.   }
  17.     static void Main(string[] args)
  18.     {
  19.     var Wow = new ComplicatedHelloWorld();
  20.         var doc = new XmlDocument();
  21.     string Hmmmm = Wow.Method();
  22.     string StringOfText = Wow.Qwerty;
  23.     char Character = 'd';
  24.         doc.LoadXml("<hello wow=\"l\">e<g>!</g></hello>");
  25.         XmlNode node = doc.DocumentElement.SelectSingleNode("/hello");
  26.     XmlNode node2 = doc.DocumentElement.SelectSingleNode("/hello/g");
  27.         string ImportantString = node.InnerText;
  28.     string Node2String = node2.InnerText;
  29.         string Attribute = node.Attributes["wow"]?.InnerText;
  30.         Thread.Sleep(1);
  31.     ReallyImportantFunction('e');
  32.     Console.Write(Attribute + Attribute);
  33.     Console.Write(StringOfText);
  34.     Console.Write(Hmmmm);
  35.     Console.Write("l");
  36.     Console.Write(Convert.ToString(Character) + Node2String);
  37.     Thread.Sleep(1);
  38.     Console.ReadKey();
  39.     }
  40. }
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement