C# Interview prep: 50 Question and Answers

preview_player
Показать описание

50 C# Interview Questions and Answers and should be seen as interview preparation.

#csharpInterviewPrep #CsharpInterviewQA

C# Interview Questions
The target audiences of this video are developers who are looking to sharpen their coding skills and prepare themselves for their technical c# interview.

Timecodes for the questions:
What is a class?
What are the main concepts of object-oriented programming?
Explain Encapsulation
What is abstraction?
What is Inheritance in C#?
What is an object?
What is a constructor, and what are its different types?
What is a destructor in C#?
What is polymorphism?
Is C# code managed or unmanaged code?
What are value types and reference types?
What are namespaces, and is that compulsory?
Explain types of comments in c# with examples.
What is an interface? Give an example.
How to implement multiple interfaces with the same method name in the same class?
What is the virtual method, and how is it different from the abstract method?
What is method overloading and method overriding?
What is the static keyword?
Can we use “this” with the static class?
What is the difference between constants and read-only?
What is the difference between string and string builder in C#?
Explain the “continue” and “break” statement.
What are boxing and unboxing?
What is a sealed class?
What is a partial class?
What is enum?
What is dependency injection, and how can it be achieved?
The “using” statement.
What are the access modifiers? Explain each type.
What are delegates?
What are the different types of delegates?
What is an array? Explain Single and multi-dimensional arrays.
What is the difference between the System.Array.CopyTo() and System.Array.Clone() ?
What is the difference between array and arraylist?
What is a jagged array in C#?
What is the difference between struct and class?
What is the difference between throw and throw ex?
Explain the difference between finally and finalize block?
What are Anonymous types in C#?
What is multithreading, and what are its different states?
How is exception handling done in C#?
What are the custom exceptions?
What is LINQ in C#?
What is serialization?
What are generics in c#?
What is reflection?
How to use nullable types?
Which is the parent class of all classes which we create in C#?Explain code compilation in C#.

tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.

You can also read the article with all 50 questions and answers here:

#csharpInterviewPrep #CsharpInterviewQA
Рекомендации по теме
Комментарии
Автор

Great course if no advertising for his Master class every 5 mins

shenth
Автор

Hi Denis,
Thanks for the video!
I think you could include the 'Pause' clip about your complete C# course more often in this video.

Robert
Автор

Very concise and understandable explanations. Great video! Thanks!

malindukumaradasa
Автор

I got C# Masterclass course for my College Training so this will help me a lot to answer many questions in my exam. :)

HawkEncounters
Автор

question 42 1:04:16 mistake
in that particular example (if we assume exception within try { } block) Finally block won't execute, as you throw exception from catch block, and there is not catch earlier in stack.

andreilisovskii
Автор

The video has some mistakes:
5. 08:14 You get to use the private field of a base class in a derived class because the derived class is nested in the base class. That's not normally the case for inheritance.

ethanrx
Автор

Great video - covering a wide variety of topics with code examples.

csperi-peri
Автор

It is not polymorphism at 15:05 You should look at another video to understand this topic.

arkadiyshuvaev
Автор

This is a great video! Thank you! Will you make more interview question videos? Topics like SOLID in C#, web API, .NET core, Blazor, MVC, etc. More Design Patterns would be nice too. I was asked in an interview what is the Yield keyword purpose. Only Break and Continue are in the video. Thanks 😀

luis.e.moreno
Автор

9:19 I am pretty sure you are not fully correct.
You already have a property by using get set and it shouldn't be private, and by convention should be uppercase.
It feels like you are a java developer and I know there you expose properties via get set methods.
Fields are private and usually are named with an underscore and then you can have public properties using the fields in get set.

i.eduard
Автор

Thanks! I noticed you have a bug in your CopyTo command (you copied it to itself instead of to marksCopy)
should be
int[] marksCopy = new int[3];
marks.CopyTo(marksCopy, 0);

davestorm
Автор

It's video very grateful for my interview

krishnakumargupta
Автор

Thanks for the video! Just thought I'd point out that for Q.39 it seems like you forgot to change the graphic in the bottom left.

sol-uk
Автор

really nice video..can you make video for xamarin forms also

pranitapawar
Автор

plz provide the website link to read the content.

kunnu
Автор

what happened to 39 Explain var and dynamic?? 💨

paulc.
Автор

Lol, watching this video has made me feel like I need to study for a few more years before I should even think about interviewing. I feel so stupid 🥴

FrankPapadakis
Автор

Good content, but advertising is way too aggressive.

MaciejKowalski-jrci
Автор

thank God a video about this where there is no Indian

anon_
Автор

Almost everyone giving car or bike example for abstraction😅

stoploss-gu