C# advanced level question | Sololearn: Learn to code for FREE!

+3

C# advanced level question

If you were asked to ask an advanced level C# programming question, what would you ask? ask any question you want... 😁

9/20/2019 7:38:42 AM

Vahid

22 Answers

New Answer

+3

Explain the advantage and disadvantage of using Linq functions instead of loops / conditions.

+3

How do you create a DLL library package that contains functions usable by other programs.

+3

When would you use string interpolation ($) and StringBuilder?

+2

What is the difference between an abstract class and an interface? When would you use a struct, or an enum, instead of a class?

+2

What are the advantages and disadvantages of Entity Framework vs store procedures and what situations would you use one over the other?

+2

What is the difference between NHibernate and Entity Framework

+2

Your question generated more questions, but still these questions are actually answers to your question :D

+1

I'll comment here to check those topics tomorrow. Interesting stuff

+1

Linq is the best thing ever, even its slower than normal foreach or for`s

+1

If you are using threads, what do you choose between System.collections.Generic and System.Collections.Concurent ? And why?

+1

What is Test Driven Development(TDD) ?

+1

Why do we need Dependency Injection in our solution and why we should never build a monolith ?

+1

Give a live example of delegates. Why cant we use normal functions instead?

0

What is yield keyword and why is good to use it. Have you ever used out, ref, lock ? There are a lot of questions to ask, I will stop here :D

0

Thanks to all, your questions are useful for anyone who is planning to improve on C# programming.

0

How do you add a method to List<T> Type without deriving from it?

0

Cheng Vang this is not somehing you will be asked, you will just be asked if you know templates... public static void SecondAdd(this List<T> myList) where T : object

0

Catalin Popinciuc not sure about that 🤔. Generic is another question for sure but is common in most programing languages.

0

Cheng Vang Ok than, Extensions..:D

0

Catalin Popinciuc hey, i thought we can drop down any quedtions related to c#.:D Anyway, hopfully this one is better than the last one. what is the difference between public, internal, protected and private and when do you use them?