C# Job Interview Questions
-
What is a 'protected' keyword used for in C# and what other keyword is very closely related to it??
C# Mid-level -
What is a difference between private and public access modifier in C#?
C# Mid-level -
When and why would you use an interface in C#?
C# Junior -
How many classes can a class be inherited from in C#?
C# Junior -
What is a difference between an abstract class and an interface in C#?
C# Junior -
What is a JIT inlining in C#?
C# Junior -
What is a difference between a property and a field in C#?
C# Junior -
What types of loops exist in C#?
C# Junior -
What is inheritance in C#?
C# Junior -
What is 'public' keyword good for in C#?
C# Junior -
What is happening and in what order when a new object in being created C#?
C# Junior -
What is 'return' keyword used for in C#?
C# Junior -
What is 'this' keyword used for in C#?
C# Junior -
In C# how do you call one method from another method where both method are inside of the same class?
C# Junior -
What is an attribute in C#?
C# Junior -
What must every method have in C#?
C# Junior -
What do you know about methods in C#?
C# Junior -
What is execution context in C#?
C# Junior -
What is a local variable and where can it be declared in C#?
C# Junior -
What is a global variable and where can it be declared in C#?
C# Junior -
What does the method signature consist of in C#?
C# Junior -
What does the method consist of in C#?
C# Junior -
What are method parameters in C#?
C# Junior -
In C#, why can you declare a variable using code 'int x;' but you can't declare a variable using code 'var x;'?
C# Junior -
What is a breakpoint in C# good for?
C# Junior -
How many classes should be in one .cs file and why?
C# Junior -
What is the 'class' keyword used for in C#?
C# Junior -
What is C#?
C# Junior -
What is a method parameter in C#?
C# Junior -
What is a method return type in C#?
C# Junior -
When do you use semicolon in C# and why?
C# Junior -
What is an instance method in C#?
C# Junior -
What is a static method in C#?
C# Junior -
How can you find out what is the variable type?
C# Junior -
How can you declare a variable?
C# Junior -
How can you assign a value to a variable in C#?
C# Junior -
What is a 'var' keyword in C# good for?
C# Junior -
What is a variable?
C# Junior -
What is the 'new' keyword used for in C#?
C# Junior -
How can you assign a value to a property in C#?
C# Junior -
How can you recognize a property in C#?
C# Junior -
What is a property in C#?
C# Junior -
What is a class instance in C#?
C# Junior -
What is a difference between value type and reference type?
C# Junior -
What is an object reference in C#?
C# Junior -
What C# data types do you know?
C# Junior -
What is a data type?
C# Junior -
How do you recognize a method call in C#?
C# Junior -
What is a method in C# and how do you define one?
C# Junior -
What is a constructor in C# and why would you use it?
C# Junior -
What parts does a C# class usually contain?
C# Junior -
What is a project in Visual Studio and what file extension does it have?
C# Junior -
What is a solution in Visual Studio and what file extension does it have?
C# Junior -
What is a difference between .cs file and class?
C# Junior -
Where does the .NET C# program start its flow when you build and run a console application?
C# Junior -
What is an object in C#?
C# Junior -
What is a class in C#?
C# Junior -
What are the advantages of using 'using' keyword in C# and why would you use it?
C# Junior -
What is a namespace in C# and what is it good for?
C# Junior -
What is abstract class and what is it good for?
C# Mid-level -
What is covariance and contravariance?
.NET ASP.NET MVC ASP.NET WebAPI ASP.NET WebForms C# Senior -
Have you ever consumed some 3rd party API? What was it? Have you ever designed your own API? Could you describe it a bit?
.NET Architecture ASP.NET WebAPI C# Web services Mid-level -
What is serialization/deserialization? What types of serialization do you know?
.NET C# Mid-level -
What is a MultiCastDelegate? What is it good for? Give some real use case
.NET C# Senior -
Can you use multiple catch blocks in try/catch? What would be a use case for such thing?
C# Junior -
What do you know about delegates?
.NET C# Mid-level -
What is MSIL?
.NET ASP.NET MVC ASP.NET WebAPI ASP.NET WebForms C# Senior -
What is JIT?
.NET ASP.NET MVC ASP.NET WebAPI ASP.NET WebForms C# Senior -
Could you describe how is memory management done in .NET?
.NET ASP.NET MVC ASP.NET WebAPI ASP.NET WebForms C# Senior -
Write a code that takes an integer number and outputs its digits to the console.
.NET C# Code challenge Mid-level -
What is variable capturing good for and how does it work?
.NET C# Senior -
What will be the output of the following code that is using delegates?
.NET C# Code challenge Senior -
Could you describe what generic type inference is and what will be the output of this program?
.NET C# Code challenge Senior -
What is the difference between IEnumerable and IQueryable?
.NET C# Entity Framework LINQ Performance Senior -
What is boxing and unboxing?
.NET C# Performance Junior -
Do you use generics? What are they good for? And what are constraints and why to use them?
.NET C# Performance Mid-level -
Could you explain what the following LINQ methods OrderBy, Where and Single do and what will be the output of the code?
.NET C# LINQ Junior -
Could you explain on the following example what a deferred execution is and what materialization is? What will the output be?
.NET C# LINQ Performance Mid-level -
What array initialization syntaxes do you know?
.NET C# Mid-level -
How does the .Max(...) work in LINQ? What will be the result of the following code?
.NET C# LINQ Junior -
What is a difference between partial class and partial method and what are they good for?
.NET C# Senior -
What is a data type of the following variable? var number = 1.0;
.NET C# Senior
Are you wondering what questions will you get asked on your job interview?
Do you have a Job Ad URL address?
Then we will predict the questions for you...
-
Share the question, get the right answerSubmit the question you have been asked by a recruiter. We will give you the right answer.
Recently added questions
- Do you use your Entity Framework models in API controllers?
- What are POCO classes in Entity Framework?
- Why would you recommend a company to use Entity Framework?
- What Entity Framework versions did you use?
- What is a server evaluation and client evaluation in Entity Framework and why should you know about it?
- Using Entity Framework, how do you check if a row exists in a database?
- How do you handle SQL injection attacks in Entity Framework?
- When are queries executed when you use Entity Framework?
- Which types of loading do you know and which type of loading is good in which scenario in Entity Framework?
- Using Entity Framework, when will you prefer to use Code First and when Database First approach? Why?
- What is a difference between Database First and Code First approach in Entity Framework?
- What is the use of .AsNoTracking() method?
- What is Code First approach in Entity Framework?
- Using Entity Framework, how can you disable an object property from being mapped to a database entity column?
- What happens when you insert multiple rows using Entity Framework?
- How do you insert multiple rows in Entity Framework?
- Can you list a few methods of DbContext object in Entity Framework?
- What are advantages of Entity Framework over ADO.NET?
- What is a difference between dbContext.Orders.First() and dbContext.Orders.Single() in Entity Framework?
- How do you make Entity Framework to return only specific columns from the database instead of all table columns?
Comments
There are no comments yet.
Be the first one who opens the discussion. The world needs people who are able to speak up.