.Net windows controls interview questions
7. How will you pick a color from the ColorDialog box? To pick a color from the color dialog box, […]
7. How will you pick a color from the ColorDialog box? To pick a color from the color dialog box, […]
1. How can we auto size a button to fit its text? The Button control has the AutoSize property, which
49. What are the different ways a method can be overloaded? The different ways to overload a method are given
19. Give the syntax of using the for loop in C# code? The syntax of using the for loop in
13. What is a parameter? Explain the new types of parameters introduced in C# 4.0. A parameter is a special
.Net Programming concept interview questions7. Differentiate between the while and for loop in C#. The while and for loops are
1. Define variable and constant. A variable can be defined as a meaningful name that is given to a data
31. What is Common Language Specification (CLS)? CLS is a set of basic rules, which must be followed by each
25. What are the improvements made in CAS in .NET 4.0? The CAS mechanism in .NET is used to control
19. How does CAS works? There are two key concepts of CAS security policy- code groups and permissions. A code
13. State the differences between the Dispose() and Finalize(). CLR uses the Dispose and Finalize methods to perform garbage collection
7. Name the classes that are introduced in the System.Numerics namespace. The following two new classes are introduced in the
1. What is .NET Framework? .NET Framework is a complete environment that allows developers to develop, run, and deploy the
6. For the code snippet given below, which of the following statements is valid? public class Generic<T> { public T
1. Which one of the following classes are present System.Collections.Generic namespace? Stack Tree SortedDictionary SortedArray A. 1 and 2
11. Which of the following CANNOT be a target for a custom attribute? A. Enum B. Event C.
6. Which of the following statements are correct about Attributes used in C#.NET? A. If there is a custom
1. The [Serializable()] attribute gets inspected at A. Compile-time B. Run-time C. Design-time D. Linking-time E.
11. Suppose on pushing a button an object is to be notified, but it is not known until runtime which
6. Which of the following is the correct way to call subroutine MyFun() of the Sample class given below? class
1. Which of the following statements is incorrect about delegate? A. Delegates are reference types. B. Delegates are
16. Which of the following statements are correct about the Collection Classes available in Framework Class Library? A. Elements
11. Suppose value of the Capacity property of ArrayList Collection is set to 4. What will be the capacity of
6. Which of the following statements are correct about the C#.NET code snippet given below? Stack st = new Stack();
1. Which of the following statements are correct about an ArrayList collection that implements the IEnumerable interface? The ArrayList class