Difference between IQueryable and IEnumerable c#

Hi I will explain difference between IQueryable and IEnumerable list  in c# asp.net with example IEnumerable 1. If we want to use IEnumerable in our application, we can get it by adding System.Collections namespace. 2. IEnumerable best suitable for in-memory operations because first it will execute “select query” on server and it will load all […]

Continue Reading →
 

C# – Difference between Abstract class and Interface

An Abstract category associate degreey with none implementation just looks like Interface; but there area unit lot of variations than similarities between associate degree Abstract category and an Interface. Let’s explain both concepts and compare their similarities and differences. What is Abstract Class? An abstract category could be a special kind of category that cannot […]

Continue Reading →
 

C# – Difference between String and Stringbuilder in C#

Here i will make a case for what’s difference between string and stringbuilder in c# mistreatment asp.net. String is immutable. immutable means that once we have a tendency to produce string object we tend to cannot modify. Any operation like insert, replace or append happened to vary string merely it’ll discard the recent value and […]

Continue Reading →
 

What is interface in c# with example

An interface is defined as a syntactical contract that every one the categories inheriting the interface should follow. The interface defines the ‘what’ part of} the syntactic contract and also the deriving categories define the ‘how’ part of the syntactical contract. Interfaces define properties, methods, and events, which area unit the members of the interface. […]

Continue Reading →
 

Abstract classes in c#

Abstract categories, marked by the keyword abstract in the category definition, square measure usually accustomed outline a base category within the hierarchy. what is special concerning them, is that you just cannot create associate instance of them – if you try, you’ll get a compile error. Instead, you have to taxonomic category them, as tutored […]

Continue Reading →
 

Casting and Type Conversions (C# Programming)

C# is statically-typed at compile time, after a variable is asserted, it cannot be declared once more or accustomed store values of another kind unless that kind is convertible to the variable’s kind. as an example, there’s no conversion from Associate in Nursing number to any arbitrary string. Therefore, once you declare i as associate […]

Continue Reading →
 

Introduction to OOPS Concepts.

OOP stands for Object Oriented Programming. It is a programming methodology that uses Objects to build a system or web applications using programming languages like C#, Vb.net etc. Here, Objects plays a very important role because it hides the implementation details and exposed only the needed functionalities and related stuff that is required to adopt […]

Continue Reading →