C# Basic

What is Encapsulation in C# – Best Answer

Answer includes concept of encapsulation in C# oops with various C# encapsulation examples with programs. Answer:Encapsulation in C# is one of the oops principles that is used for hiding complexities in programs. NOTE: Many candidates answer to this interview question “What is encapsulation in C#” like wrapping the class member fields into a method as […]

Write code for interface implementation in C#

Answer includes the concept for interface implementation in C# with example and code example of multiple interface implementation. Answer: C# Interface inheritance or implementation is a simple concept object oriented programming. Let’s understand in a simple word.  We create an interface having one or more unimplemented methods in it. A class implements this interface, meaning, […]

What is C# mutable string and immutable string?

C# mutable string and immutable string is, in fact very simple concept and  you will understand with example.  The immutable meaning is unchanging over time or unable to be changed. The mutable meaning is changeable or modifiable. Immutable String in C# Immutable string cannot be changed once declared and defined. In a simple word, if […]

Scroll to top