What do you want to save?
Add Code snippet
New code examples
-
C# 2022-02-01 12:51:45
example HttpClient c# Post
async Task<string> GetResponseString(string text) { var httpClient = new HttpClient(); var parameters = new Dictionary<string, string>(); parameters["text"] = text; var response = await httpClient.PostAsync(BaseUri,... Add solution -
C# 2021-11-13 17:23:16
how to POST in c#
using System.Net.Http; HttpClient client = new HttpClient(); /// POST /// var values = new Dictionary<string, string> { { "thing1", "hello" }, { "thing2", "world" } }; var content = new FormUrlEncod... Add solution -
C# 2021-11-12 19:54:27
c# post get request
using System.Net.Http; HttpClient client = new HttpClient(); /// POST /// var values = new Dictionary<string, string> { { "thing1", "hello" }, { "thing2", "world" } }; var content = new FormUrlEncod... Add solution -
C# 2021-11-09 01:19:12
HttpClient .net Core add Certificate
Module m = Assembly.GetEntryAssembly().GetModules()[0]; using (var cert = m.GetSignerCertificate()) using (var cert2 = new X509Certificate2(cert)) { var _clientHandler = new HttpClientHandler(); _clientHandler.ClientCertificates.Add(cert2); _clie... Add solution -
Other 2021-10-07 18:12:09
chsarp dict example
// Create a new dictionary of strings, with string keys. // Dictionary<string, string> openWith = new Dictionary<string, string>(); // Add some elements to the dictionary. There are no // duplicate keys, but some of the values are duplica... Add solution -
C# 2021-09-30 07:14:02
how to print dictionary in c# with for loop
using System; using System.Linq; using System.Collections.Generic; public class Example { public static void PrintDict<K,V>(Dictionary<K,V> dict) { &nbs... Add solution
Best helpers
Ranking is empty