title: method to check the value does not work
body: <p>I want to do is, to check which value is bigger. At first, I ask (in the console) for the first value and for the second value. Than I want to check with the method "Bigger" which value is bigger. The problem is, that the method "Bigger" is underlined and I get an error.</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>bigger_than ____ Input.Bigger ( bigger_than ____ Input . ) . " : Not all code paths return a value </p>
  </blockquote>
  
  <p>Error comes from following method:</p>
  
  <pre><code>        public int Bigger(Input none)
          {
              if (First &gt; none.Second) 
              {
                  return 1;
              }
              if (Second &gt; none.First) 
              {
                  return -1;
              }
          }
  </code></pre>
  
  <hr>
  
  <p>Full Source Code:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  namespace größer_als____
  {
      class Program
      {
          static void Main(string[] args)
          {
              int one;
              int two;
  
              Console.WriteLine("bigger than...");
              Console.WriteLine("one: ");
              Console.Write("&gt;&gt; ");
                  one = int.Parse(Console.ReadLine());
              Console.WriteLine("two: ");
              Console.Write("&gt;&gt; ");
                  two = int.Parse(Console.ReadLine());
  
              Input giveOne = new Input();
              giveOne.First = one;
  
              Input giveTwo = new Input();
              giveTwo.Second = two;
  
              if (giveOne.Bigger(giveTwo) == 1) 
              {
                  Console.WriteLine("The first one [{0}] is bigger.", giveOne);
              }
              if(giveTwo.Bigger(giveOne) == -1) 
              {
                  Console.WriteLine("The second one [{0}] is bigger.", giveTwo);
              }
  
              Console.ReadLine();
          }
      }
      class Input
      {
          private int first;
  
          public int First
          {
              get { return first;}
              set { first = value;}
          }
  
          private int second;
  
          public int Second
          {
              get { return second; }
              set { second = value; }
          }
  
          public int Bigger(Input none)
          {
              if (First &gt; none.Second) 
              {
                  return 1;
              }
              if (Second &gt; none.First) 
              {
                  return -1;
              }
          }
      }
  }
  </code></pre>