mo.notono.us

Friday, January 26, 2007

HELLO_WORLD

I'm not too happy with the _______() method - it's a bit too obvious. Otherwise the following is a great little .net console application:
using System;
using System.Diagnostics;

namespace ___
{
 class _____
 {
  static void Main(string[] args)
  {
   _______();
  }

  static void _______()
  {
   ______(_(_(_(_(_(_(_(__()))))))));
   ______(_(_(_(_(__())))));
   ______(_(_(_(_(_(_(_(_(_(_(_(__()))))))))))));
   ______(_(_(_(_(_(_(_(_(_(_(_(__()))))))))))));
   ______(_(_(_(_(_(_(_(_(_(_(_(_(_(_(__())))))))))))))));
   ______();
   ______(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(__())))))))))))))))))))))));
   ______(_(_(_(_(_(_(_(_(_(_(_(_(_(_(__())))))))))))))));
   ______(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(__()))))))))))))))))));
   ______(_(_(_(_(_(_(_(_(_(_(_(__()))))))))))));
   ______(_(_(_(__()))));
  }

  static string _(string _)
  {
   return _ + __();
  }

  static string ___()
  {
   return __();
  }

  static void ______()
  {
   Console.Write(___());
  }

  static void ______(string _)
  {
   Console.Write((char)(_.Length + 58));
  }

  static string __()
  {
   return new StackTrace().GetFrame(1).GetMethod().Name;
  }
 }
}

Labels: ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home