title: c# Command /o blacklist username reason
body: <p>I'm working at a chat program and i want to add for users a command like "/o blacklist hisUsername andReason". So let's say user1 added in blacklist user2 because he talk in another language. When user2 send a message all users receive the message exept user1. The command work but at reason program add only first word. Here is the code:</p>
  
  <pre><code>MainForm mf = new MainForm();
  string[] command = Text.Split(' ');
  command[0] = command[0].ToLower();
  if(textBox3.Text.Contains("blacklist"))
  {
      string Username = Text.Remove(0, command[0].Length + command[1].Length + 2);
      using (TextWriter tw = File.CreateText(mf.Database + "\\" + mf.BlackList + "\\" + command[1] + ".txt"))
      {
          tw.Write(command[2].ToString());
          messagesChat.Text += command[1] + " was added in BlackList!";
      }
  }
  </code></pre>
  
  <p>Database is a directory named Files<br>
  BlackList is a directory named BlackList</p>
  
  <p>So after this command program will create a file in Files/BlackList/ His username, but when the file is created program add only first word.</p>