June 6, 2005 tools

@this freaked me out

I saw code that looked like this today:

class Class1 {
 
static void Foo(object @this) {
    Console.WriteLine(@this);
  }

  static void Main(string[] args) {
    Foo(“hi”);
  }
}

It freaked me out, but it’s completely legal and kinda cool…