Program.cs - using using using using System System.Text System.Linq System.Diagnostics namespace \u0441\u0442\u0440\u0438\u043d\u0433\u043e\u0432\u0435 class Program static void

Program.cs - using using using using System System.Text...

This preview shows page 1 - 2 out of 2 pages.

using System; using System.Text; using System.Linq; using System.Diagnostics; namespace стрингове { class Program { static void Main(string[] args) { //zadacha1 /*string line = Console.ReadLine(); string[] command = Console.ReadLine().Split(' ').ToArray(); StringBuilder sb = new StringBuilder(); sb.Append(line); switch (command[0]) { case "Append":sb.Append(command[1]);break; case "Remove": var n = int.Parse(command[1]); var f = int.Parse(command[2]);
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Spring '18
  • static void Main, StringBuilder sb, var n

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes