title: The best overloaded method match for 'string.Split(params char[])' has some invalid arguments
body: <p>New to C# and I don't know why I can't get this working</p>
  
  <p>I have tried removing the parts that I have added when the code came but nothing.</p>
  
  <p>Errors:</p>
  
  <blockquote>
    <p>The best overloaded method match for 'string.Split(params char[])' has
    some invalid arguments Argument 1: cannot convert from 'string' to
    'char[]'</p>
  </blockquote>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace Metode_test
  {
      class Program
      {
  
      static void Main(string[] args)
      {
          string[] udsagnsord = new string[] { "kan", "lide" };
          string[] navneord = new string[] { "kage" };
          string[] egenavne = new string[] { "Andreas" };
  
          string s = "Andreas kan lide kage";
          string[] words = s.Split( ' ' );
  
  
          foreach (string word in words)
          {
  
              Console.Write(word);
  
              foreach (string verbum in udsagnsord) 
              {
  
                  if ( word == verbum ) 
                  {
                      Console.Write(" (");
                  }
  
              }
  
          }
  
          Console.ReadLine();
      }
  
  }
  
  
  
  }
  </code></pre>