@linkedin @Link @Link2
2 results for csharp
  • C# and .NET Framework (4.5 & Core) supports asynchronous programming using some native functions, classes, and reserved keywords. Before we see what is asynchronous programming, let’s understand what is synchronous programming using the following console example. static void Main(string[] args) { LongProcess(); ShortProcess(); } static void LongProcess() { Console.WriteLine("LongProcess Started"); //some code that takes long execution time System.Threading.Thread.Sleep(4000); // hold execution for 4 seconds Console.WriteLine("LongProcess Completed"); } static void ShortProcess() { Console.
    csharp async await task Created Wed, 03 May 2023 19:14:52 +0300
  • Csharp Dictionaries and Hashmaps Dictionary A dictionary is a collection of key-value pairs. It is a data structure that is used to store data in the form of key-value pairs. The key-value pair is also referred to as an entry. The key is used to retrieve the data associated with it. The key must be unique and immutable. The value can be changed. The value can be of any type. The key and value can be of the same type or of different types.
    csharp dictionaries hashmaps Created Mon, 01 May 2023 22:19:17 +0300