Skip to main content

int vw q on oops

NET INTERVIEW QUESTIONS

OOPS CONCEPTS

1. What is Object Oriented Programming ?
2. What’s a Class ?
3. What’s a Object ?
4. What’s the relation between Classes and Objects ?
5. What are different properties provided by Object-oriented systems ?
6. Twist :- Can you explain different properties of Object Oriented Systems?
7. Twist :- What’s difference between Association , Aggregation and Inheritance relationships?
8. How can we acheive inheritance in VB.NET ?
9. What are abstract classes ?
10. What’s a Interface ?
11. What is difference between abstract classes and interfaces?
12. What is a delegate ?
13. What are event’s ?
14. Do events have return type ?
15. Can event’s have access modifiers ?
16. Can we have shared events ?
17. What is shadowing ?
18. What’s difference between Shadowing and Overriding ?
19. What’s difference between delegate and events?
20. If we inherit a class do the private variables also get inherited ?
21. What are different accessibility levels defined in .NET ?
22. Can you prevent a class from overriding ?
23. What’s the use of “MustInherit” keyword in VB.NET ?
24. Why can not you specify accessibility modifier in Interface ?
25. What are similarities between Class and structure ?
26. What’s the difference between Class and structure’s ?
27. What does virtual keyword mean ?
28. What are shared (VB.NET)/Static(C#) variables?
29. What is Dispose method in .NET ?
30. Whats the use of “OverRides” and “Overridable” keywords ?
31. Where are all .NET Collection classes located ?
32. What is ArrayList ?
33. What’s a HashTable ?
34. Twist :- What’s difference between HashTable and ArrayList ?
35. What are queues and stacks ?
36. What is ENUM ?
37. What is nested Classes ?
38. What’s Operator Overloading in .NET?
39. In below sample code if we create a object of class2 which constructor will fire first?
40. What’s the significance of Finalize method in .NET?
41. Why is it preferred to not use finalize for clean up?
42. How can we suppress a finalize method?
43. What’s the use of DISPOSE method?
44. How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method?
45. In what instances you will declare a constructor to be private?
46. Can we have different access modifiers on get/set methods of a property ?
47. If we write a Goto or a return statement in try and catch block will the finally block execute ?
48. What is Indexer ?
49. Can we have static indexer in C# ?
50. In a program there are multiple catch blocks so can it happen that two catch blocks are executed ?
51. What is the difference between System. String and System. String Builder classes?

Comments

Popular posts from this blog

Drawing Line Charts In asp.net

LineChart.cs import the following namespaces using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Collections; public class LineChart { public Bitmap Bitmapb; public string strTitle = "Default Title"; public ArrayList ArrayListchartValues = new ArrayList(); public float ftXorigin = 0, ftYorigin = 0; public float ftScaleX, ftScaleY; public float ftXdivs = 2, ftYdivs = 2; private int intWidth, intHeight; private Graphics Graphicsg; private Page Pagep; struct datapoint { public float ftx; public float fty; public bool bolvalid; } //initialize public LineChart(int intmyWidth, int intmyHeight, Page myPage) { intWidth = intmyWidth; intHeight = intmyHeight; ftScaleX = intmyWidth; ftScaleY = intmyHeight; Bitmapb = new Bitmap(intmyWidth, intmyHeight); Graphicsg = Graphics.FromImage(Bitmapb); Pagep = myPage; } pu

AJAX

ASP.NET AJAX From Wikipedia, the free encyclopedia Jump to: navigation, search ASP.NET AJAX is a set of extensions to ASP.NET developed by Microsoft for implementing Ajax functionality. It is released under the Microsoft Public License. Contents [hide] • 1 Road Map • 2 Browser support • 3 ASP.NET AJAX Suite • 4 Microsoft Ajax Library • 5 The UpdatePanel Control • 6 Script Controls and Extenders • 7 Web-services and JSON • 8 See also • 9 References • 10 External links [edit] Road Map In its early development stages, ASP.NET AJAX was given the code name Atlas. Initial releases were made public to the development community in the form of CTPs (Community Technical Previews). The production version, ASP.NET AJAX 1.0 RTM; was released on January 23, 2007[1][2] as an extension to ASP.NET 2.0. Important release milestones for ASP.NET AJAX are as follows: • CTPs - October, December 2005, January, March, April, June, July 2006 • Beta - October, November 2006 • Release Candidate (RC) - December 2