49. What are the different ways a method can be overloaded? The different ways to overload a method are given as follows: By changing the number of parameters used By …
.Net Object Oriented Programming
- .NETInterview Questions and AnswersTechnical Interview Questions and Answers
- .NETInterview Questions and AnswersTechnical Interview Questions and Answers
.Net Object Oriented Programming Interview Questions and Answers for Freshers and Experience Part-8
by Sby S43. What do you mean by data encapsulation? Data encapsulation is a concept of binding data and code in single unit called object and hiding all the implementation details of …
- .NETInterview Questions and AnswersTechnical Interview Questions and Answers
.Net Object Oriented Programming Interview Questions and Answers for Freshers and Experience Part-7
by Sby S37. Give a brief description of properties in C# and the advantages that are obtained by using them in programs. In C#, a property is a way to expose an …
- .NETInterview Questions and AnswersTechnical Interview Questions and Answers
.Net Object Oriented Programming Interview Questions and Answers for Freshers and Experience Part-6
by Sby S31. What are methods? Methods are the building blocks of a class, in which they are linked together to share and process data to produce the result. In other words, …
- .NETInterview Questions and AnswersTechnical Interview Questions and Answers
.Net Object Oriented Programming Interview Questions and Answers for Freshers and Experience Part-5
by Sby S25. How has exception handling changed in .NET Framework 4.0? In .NET 4.0, a new namespace, System.Runtime.ExceptionServices, has been introduced which contains the following classes for handling exceptions in a …
- .NETInterview Questions and AnswersTechnical Interview Questions and Answers
.Net Object Oriented Programming Interview Questions and Answers for Freshers and Experience Part-4
by Sby S19. Define enumeration? Enumeration is defined as a value type that consists of a set of named values. These values are constants and are called enumerators. An enumeration type is …
- .NETInterview Questions and AnswersTechnical Interview Questions and Answers
.Net Object Oriented Programming Interview Questions and Answers for Freshers and Experience Part-3
by Sby S13. What is the difference between a class and a structure? Class: A class is a reference type. While instantiating a class, CLR allocates memory for its instance in heap. …
- .NETInterview Questions and AnswersTechnical Interview Questions and Answers
.Net Object Oriented Programming Interview Questions and Answers for Freshers and Experience Part-2
by Sby S7. What are collections and generics? A collection can be defined as a group of related items that can be referred to as a single unit. TheSystem.Collections namespace provides you …
- .NETInterview Questions and AnswersTechnical Interview Questions and Answers
.Net Object Oriented Programming Interview Questions and Answers for Freshers and Experience Part-1
by Sby S1. What is object-oriented programming (OOP)? OOP is a technique to develop logical modules, such as classes that contain properties, methods, fields, and events. An object is created in the …