11
1
//Example by TutorialsTeacher.com
2
using System;
3
4
public class Program
5
{
6
public static void Main()
7
{
8
var student = new { id = 1, FirstName = "James", LastName = "Bond" };
9
Console.WriteLine(student.GetType().ToString());
10
}
11
}
Cached Result
<>f__AnonymousType0`3[System.Int32,System.String,System.String]