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 -
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-25 20:28:03
can a dictionary type use get set c#
public class YourClass { private readonly IDictionary<string, string> _yourDictionary = new Dictionary<string, string>(); public string this[string key] { // returns value if exists get { return _yourDictionary[key... Add solution
Best helpers
Aerin
+5
Wad Cheber
+5
Amziraro
+5
Nsayer
+5
Zach Zundel
+5
Steve Caine
+5
Phatfingers
+5
Dk123
+5
AMACB
+5
Sam davies
+5
JSanchez
+5