C# advanced level question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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... 😁

20th Sep 2019, 7:38 AM
Vahid
Vahid - avatar
22 Answers
+ 3
Explain the advantage and disadvantage of using Linq functions instead of loops / conditions.
20th Sep 2019, 8:24 AM
Tibor Santa
Tibor Santa - avatar
+ 3
How do you create a DLL library package that contains functions usable by other programs.
20th Sep 2019, 8:25 AM
Tibor Santa
Tibor Santa - avatar
+ 3
When would you use string interpolation ($) and StringBuilder?
20th Sep 2019, 8:28 AM
Tibor Santa
Tibor Santa - avatar
+ 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?
20th Sep 2019, 8:32 AM
Tibor Santa
Tibor Santa - avatar
+ 2
What are the advantages and disadvantages of Entity Framework vs store procedures and what situations would you use one over the other?
21st Sep 2019, 6:32 AM
Peter David Carter
Peter David Carter - avatar
+ 2
What is the difference between NHibernate and Entity Framework
21st Sep 2019, 6:46 AM
Catalin Popinciuc
Catalin Popinciuc - avatar
+ 2
Your question generated more questions, but still these questions are actually answers to your question :D
21st Sep 2019, 8:42 PM
voja
voja - avatar
+ 1
I'll comment here to check those topics tomorrow. Interesting stuff
20th Sep 2019, 9:44 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
+ 1
Linq is the best thing ever, even its slower than normal foreach or for`s
20th Sep 2019, 7:16 PM
Catalin Popinciuc
Catalin Popinciuc - avatar
+ 1
If you are using threads, what do you choose between System.collections.Generic and System.Collections.Concurent ? And why?
21st Sep 2019, 8:38 AM
Catalin Popinciuc
Catalin Popinciuc - avatar
+ 1
What is Test Driven Development(TDD) ?
21st Sep 2019, 8:45 AM
Catalin Popinciuc
Catalin Popinciuc - avatar
+ 1
Why do we need Dependency Injection in our solution and why we should never build a monolith ?
21st Sep 2019, 8:47 AM
Catalin Popinciuc
Catalin Popinciuc - avatar
+ 1
Give a live example of delegates. Why cant we use normal functions instead?
21st Sep 2019, 5:46 PM
Rohan Rao
Rohan Rao - avatar
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
21st Sep 2019, 11:23 AM
Catalin Popinciuc
Catalin Popinciuc - avatar
0
Thanks to all, your questions are useful for anyone who is planning to improve on C# programming.
22nd Sep 2019, 2:49 AM
Vahid
Vahid - avatar
0
How do you add a method to List<T> Type without deriving from it?
22nd Sep 2019, 2:55 AM
Cheng Vang
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
22nd Sep 2019, 5:32 AM
Catalin Popinciuc
Catalin Popinciuc - avatar
0
Catalin Popinciuc not sure about that 🤔. Generic is another question for sure but is common in most programing languages.
22nd Sep 2019, 8:43 AM
Cheng Vang
0
Cheng Vang Ok than, Extensions..:D
22nd Sep 2019, 8:57 AM
Catalin Popinciuc
Catalin Popinciuc - avatar
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?
22nd Sep 2019, 10:14 AM
Cheng Vang