A. C# is a type-safe, managed and object oriented language, which is compiled by .Net framework for generating intermediate language (IL), its MicroSoft Technology.
Explain the features of C#?
A. Below are few of the features supported in C#
Constructors and Destructors
Properties
Passing Parameters
Arrays
Main
XML Documentation and
Indexes Asp.Net interview questions and answers pdf C# Languages using to develop web forms in Visual Studio business requirements
Q. What are the differences between static, public and void in C#?
A. Static classes/methods/variables are accessible throughout the application without creating instance. Compiler will store the method address as an entry point.
Public methods or variables are accessible throughout the application.
Void is used for the methods to indicate it will not return any value.
Q. List the advantages of C#?
A. C# advantages -
Easy to learn
Object oriented
Component oriented
Part of .NET framework.
Q. What are IDE’s provided by Microsoft for C# development?
A. These are the IDE’s use for C# Code Development–
Visual Studio Express (VCE)
Visual Studio (VS)
Visual Web Developer.
Q. Which validator control you use if you need to make sure the values in two different controls matched?
A. Compare Validator control.