Skip to content

Instantly share code, notes, and snippets.

@moritzuehling
Last active January 9, 2016 15:31
Show Gist options
  • Save moritzuehling/9afae2cf8d40cf0150fe to your computer and use it in GitHub Desktop.
Save moritzuehling/9afae2cf8d40cf0150fe to your computer and use it in GitHub Desktop.
moritz:~$ cat program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestProject
{
class Program
{
static void Main(string[] args)
{
return;
Console.WriteLine("asdf");
}
}
}
moritz@:~$ mcs program.cs
program.cs(15,13): warning CS0162: Unreachable code detected
Compilation succeeded - 1 warning(s)
moritz@phoon:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment