OdeToCode IC Logo

Language Quiz

Tuesday, September 27, 2005

What language is the following code snippet using?

var person = new

  {

    Name = "Steve",

    JobTitle = "National Assurance Orchestrator"

  };

A) JavaScript
B) C# 3.0
C) COBOL.NET with WinFS extensions.
D) None of the above

For hints, see Steve Maine’s excellent post “On JSON” (JavaScript Object Notation), and Abhinaba’s informative rant “C# 3.0: I do not like Anonymous types”.