Sealed Class In C#:
What is Sealed Class?
In some situation we don't want to inherited a base class, So for that purpose we declared it a sealed class.
public sealed class baseclass
{
}&nbs...
Polymorphism:
An object contains many forms/types.
Compile time Polymorphism(its also Early binding, overloading, static polymorphism)
Compile time Polymorphism is also known as method overloading. Method overloading means having two or more methods with the same name but with different signatures.
Run time Polymorphism(its also Late binding, overriding, dynamic polymorphism)
Run time Polymorphism...
What is System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and less than the size of the collection OR IndexOutOfRangeException?Solution:
1.What Is meant of ArgumentOutOfRangeException OR IndexOutOfRangeException?
In C#,When you try to access a collection of item in an array through using an invalid index it say IndexOutOfRangeException.
When an...
Service /Repository Pattern:
What Is Services\Repository Pattern:
public class StudentClassService : IRepository<STD_CLASS>, IDisposable
{
private readonly _DbContext _DbContext;
public StudentClassService(_DbContext dbContext)
{
_DbContext...
In Asp.net Core the Delete Action is work as follows:
You Need To Create Get or Post Method
Get Action:
public async Task<IActionResult> Delete(int? id)
{
if (id== null)
{
return...
About Us:
Hi, My name is Muhammad Abdullah. I'm Fulltime Blogger.
Programming Forum is a bloging forum where is share Code,Project,Problem Solution faced by me and other developers.
I also Invite you to write post freely.
I'm full-time Asp.net core Develo...
Privacy Policy:
The Post you see on this blog are all unique and not copy by another place.
Information We takeWe may take information about you for just information purpose or to sent you notifation about the updatesWe may collect your information like( Name,Email ,Country ,Location).The Information we collect will not be shared by any Third Person.
You can delete your date any time when...