C#
10 results found
Cannot implicitly convert type 'bool' to 'System.Threading.Tasks.Task<bool>' in C# Asp.Net Core
Throw error CS0029 Cannot implicitly convert type 'bool' to 'System.Threading.Tasks.Task' in C# Asp.Net Core 3.1.
What is the difference between String and StringBuilder in C#?
Can anybody explain to me What is the difference between string and StringBuilder in C#? what is the best practice to use them?
C# throw object reference not set to an instance of an object
I got an exception throw 'System.NullReferenceException: Object reference not set to an instance of an object.' when printing a list of objects.
What is difference between static class & singleton in C#?
What is the difference between static class and singleton in C#? What is the best practice to use them when working with asp.net and asp.net core?
What is difference between const & readonly keywords in C#?
What is the difference between const and readonly keywords in C#? and C# required to use them?
Understand basic Delegates and Events in C# with examples
In this article we will learn what is Delegates and Events in C# and why we have to use it and also some pros and cons of them when we developing an web application in C#.
Map object to another by using AutoMapper in C# Asp.Net Core
Map object to another object in C# Asp.Net Core is a step we have to do every day. Normally we use a constructor to map. In this article, I introduce Automapper library to help map easy, and simple.
Error : The given key was not present in the dictionary in C# Asp.Net Core
Error: The given key was not present in the dictionary in C# Asp.Net Core when getting an item from a list or dictionary
How to install and uninstall window service in .Net Framework
How to install and uninstall window service in .Net Framework version 4.5 by using the command in Window Server 8 R2.
'Collection was modified; enumeration operation may not execute.'
System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'
How to convert sublists to a flat list using LINQ in C#
How to convert sublists to a flat list using LINQ in C#? I try use Select() LinQ but it is not working for me.