using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization.Formatters;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
public static void Test()
var types = typeof(Newtonsoft.Json.Serialization.IContractResolver).Assembly.GetTypes();
Console.WriteLine(string.Join("\n", types.Where(t => t.FullName.IndexOf("Func", StringComparison.OrdinalIgnoreCase) >= 0).Select(t => t.FullName)).ToArray());
public static void Main()
Console.WriteLine("Environment version: " + Environment.Version);
Console.WriteLine("Json.NET version: " + typeof(JsonSerializer).Assembly.FullName);
Console.WriteLine("Failed with unhandled exception: ");