Tag Archives: C#

4 real time use of Partial classes and partial methods.

Introduction Recently I was hunting about partial classes and the real time use of the same. Many of those postings found on google talked about the concept of partial classes and partial methods, but in what scenarios to use them … Continue reading

Posted in .net, .NET and C# training, .NET exception handing interview questions and answers, .Net Interview Questions, Csharp interview questions, partial classes, partial methods, programming interview questions | Tagged , , , , , , , , | Leave a comment

C# interview question: – How will you explain partial methods in partial classes of C# and .NET?

Partial methods are important components of partial classes. Read and click on the following link in case you are new to partial classes. Partial methods helps us to define a method definition in one of the physical files and we … Continue reading

Posted in .net, .NET and C# training, .Net Interview Questions, .NET interview questions and answers, C# interview questions, Csharp interview questions, partial methods, programming interview questions | Tagged , , , , , , , , , , | Leave a comment

C# interview questions: – What are partial classes in C# and .NET?

A partial class allows a single class to be divided in to two separate physical files. During compile time these files get compiled in to single class. For instance you can see in the below figure we have the customer … Continue reading

Posted in .net, .NET and C# training, .Net Interview Questions, .NET interview questions and answers, C# and .NET interview questions and answers, C# interview questions, partial classes, partial methods, programming interview questions | Tagged , , , , , , , , , | 2 Comments

C# and .NET interview questions: – How will you distinguish between abstract class and interface?

Abstract class Interface Implementation Some methods in abstract classes can have implementation. All methods, function, properties in interfaces have to empty compulsorily. Scenario Abstract classes are used when we want to share common functionality in parent child relationship.  Interfaces are … Continue reading

Posted in .NET and C# interview questions and answers, .NET and C# training, .Net Interview Questions, .NET interview questions and answers, abstract classes, Csharp interview questions, interfaces, programming interview questions | Tagged , , , , , , | Leave a comment