Esempio n. 1
0
 internal static void S()
 {
     System.Net.WebHeaderCollection h = new System.Net.WebHeaderCollection();
     h.Add("Accept: application/json");
     h.Add("Client: MyClient");
     foreach (var x in h.GetHeaders())
     {
         Console.WriteLine(x.Key + " = " + x.Value);
     }
 }