13 results found
OOP is a popular type of programming language.Microsoft also uses this for C#. So this knowledge becomes very important and this is the first thing when you start with C#.
If you are a junior C# dev when you join an interview, I am sure you will have to answer many questions related to OOP. So I collected the top 11 C# interview questions and answers that I usually ask in the interview. Let's get started.
Could not load file or assembly 'System.Net.Http, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
How to get the first day and last day of the previous month in C#? I need to create a report for my application and I need to get all data from the last month.
Throw error CS0029 Cannot implicitly convert type 'bool' to 'System.Threading.Tasks.Task' in C# Asp.Net Core 3.1.
Can anybody explain to me What is the difference between string and StringBuilder in C#? what is the best practice to use them?
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 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 the difference between const and readonly keywords in C#? and C# required to use them?
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 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 when getting an item from a list or dictionary
How to install and uninstall window service in .Net Framework version 4.5 by using the command in Window Server 8 R2.
System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'
How to convert sublists to a flat list using LINQ in C#? I try use Select() LinQ but it is not working for me.