Skip to content

Interview Sansar

Software jobs interview preparation source

  • Home
  • Interview Questions
    • C Interview Questions
    • C++ Advanced Interview Questions
    • C++ Basic Interview Questions
    • Core Java Interview Questions
    • Java Collections Interview Questions
    • Java Multithreading Interview Questions
    • C# Basic Interview Questions
    • C# Advanced Interview Questions
    • C# Multi-threading Interview Questions
  • MCQs
    • MCQ-C++
    • MCQ-Java
    • MCQ-SQL
    • MCQs Algorithms and Data Structure
  • Programming Examples
    • C Programming Examples
    • C++ Programming Examples
    • C# Programming Examples
    • SQL Examples
    • Oracle PL SQL Examples
    • Time Complexity
  • Blog
    • C++ interview questions
    • C# interview questions
    • Java Interview Questions
    • Short Interview Questions
    • Behavioural / HR Interview
  • You-Tube
  • About
    • Why Visit
    • Sitemap
    • Contact Us
    • e-author

Author: rsingh

C# Advanced Interview Questions

Real time example of sealed class and method in C# Programming

August 18, 2024January 29, 2023 rsingh

Let’s understand the real-time example and use of sealed class and method in C# programming with real estate Apartments and Flat design with C# source

Read More
C# Basic Interview Questions

If any method of a class is sealed, does it mean, class is also sealed? How is it different than abstract class?

August 18, 2024August 21, 2015 rsingh

Answer: No, in any class if we have sealed method it does not mean that the class is sealed. This rule is only apply to

Read More
C# Basic Interview Questions

What is sealed class and sealed method in C# with example

August 18, 2024January 29, 2023 rsingh

Sealed class cannot be inherited and sealed method in C# programming cannot be overridden. If we need to stop a method to be overridden or

Read More
C# Basic Interview Questions

Can same argument method with ref and out be overloaded in C#?

August 18, 2024January 29, 2023 rsingh

Answer: No, methods with ref and out parameters in C# with same number of arguments can’t be overloaded. For example, in below class we’ll get

Read More
C# Basic Interview Questions

What is ref and out parameter in C#?

August 18, 2024August 21, 2015 rsingh

Answer: Both ref and out parameter or keywords in C# are used to pass an argument as a reference to a method in C# program.

Read More
C# Basic Interview Questions

What is issue if we make class constructor private in C# Programming?

August 18, 2024August 23, 2015 rsingh

If we make the constructor private of a class in C# programming then we cannot create an object of the class out side of it

Read More
C# Basic Interview Questions

What is virtual method in C# language and why do you use it?

August 18, 2024August 24, 2015 rsingh

Answer: A virtual method in C# language is method that have virtual keyword in its declaration. In c# inheritance feature, we may want to allow

Read More
C++ Basic Interview Questions

When copy constructor is called in C++? – 3 Scenarios Example

August 18, 2024August 28, 2015 rsingh

Answer includes multiple scenarios, when copy constructor is called in C++ programs. The copy constructor  of a class in C++ is invoked on following scenarios

Read More
C# Basic Interview Questions

What is Identifiers in C Sharp? Can Identifiers have same name as Keywords?

August 18, 2024September 4, 2015 rsingh

Answer includes definition of Identifiers and keywords in C sharp. We will also be answering the best practice if they have same name. Identifier: Identifier

Read More
C# Basic Interview Questions

How can you access private method in C# from main () function?

August 18, 2024September 16, 2015 rsingh

Answer: To access private method in C# programming of a class, we need to use reflection technique. In brief, reflection objects are used to get

Read More

Posts pagination

Previous 1 … 8 9 10 … 48 Next

My Unique Books for YOU

All Rights Reserved 2023: Interview Sansar.
Proudly powered by WordPress | Theme: Fairy Blog by Candid Themes.