Given this gem of code:
class Program { private static bool IsAdmin = true; static void Main(string[] args) { if (!IsAdmin) {
Check out this link. It's a known bug in some versions of visual studio and the .NET framework version. It's completely harmless and something you will just have to live with.