1. What is C#?
It is an object oriented programming which runs on dotnet framework or dotnet core.This code will run on windows,mac,android.The standard editor will be visual studio starting from version 2010 to 2022.The code can be used in both windows applications and web applications.It is used to build API,Mobile,Web.
2. What are the different types of loops in C#?
3. What are the different types of collections in C#?
4. What are the design patterns in C#?
Design patterns provide general solutions for common problems.The most common design patterns are:-
5. Whether it is possible to store different datatypes in an array in C#?
Yes, in object array we can store different datatypes.For eg:-
int samparr=new int;
samparr="str";// we cannot store string in integer array
object objarr=new object;
sales objsales=new sales();