#hopeinLevel Up CodingHow to make synchronous work run asynchronously in C#Yes, you can make synchronous work run asynchronously in C# by offloading it to a different thread or using a mechanism that allows you to…Jul 311Jul 311
#hopeinLevel Up CodingTaskCompletionSource<T> in C#TaskCompletionSource<T> is a class in C# that is used to create a Task<T> object and control its state manually. This can be particularly…Jul 31Jul 31
#hopeinLevel Up CodingValueTask in C#ValueTask is a structure introduced in .NET to provide a more efficient alternative to Task for certain asynchronous programming scenarios…Jul 31Jul 31
#hopeinLevel Up CodingI/O completion ports in WindowsI/O Completion Ports (IOCPs) are a mechanism provided by Windows for handling asynchronous input/output operations efficiently. They allow…Jul 31Jul 31
#hopeinLevel Up CodingThe Modulus Operator (%) in C#The modulus operator returns the remainder after dividing one number by another. For example, in the expression number % 2:Jul 31Jul 31
#hopeinLevel Up CodingAsync Await Cheatsheet for C#Here are somethings I use in a lot of my code to handle async await in weird scenariosJul 31Jul 31
#hopeinLevel Up CodingConcurrent collections in C#Concurrent collections in C# are designed to be thread-safe, providing efficient and scalable data structures for concurrent applications…Jul 31Jul 31
#hopeinLevel Up CodingThe SOLID PrinciplesThe SOLID principles are a set of five design principles in object-oriented programming (OOP) and software design that help make software…Jul 31Jul 31
#hopeinLevel Up CodingWhich thread is used for the awaited operation in C#?As an example, when awaiting an HTTP request in C#, the HTTP request itself is not executing on any thread from your application’s thread…Jul 31Jul 31
#hopeinLevel Up CodingThe Record in C#In C#, there are two flavors of records: record classes and record structs. These were introduced to provide a concise way to define…Jul 311Jul 311