Sunday, May 27, 2018

2 C#.NET

C#.NET
OOPS Concepts
Collections and Generics
Boxing and unboxing.
Value Type & Reference Type
LINQ
IList  vs IEnumerable vs IQueryiable 
Templates
Yield & Yield return
Unit testing
Async and Await
IOC
Conditional DI
https://stackoverflow.com/questions/32296209/dependency-injection-unity-conditional-resolving/32415954
Access specifiers
c# program Interview questions
LINQ Examples

GC:
 GC Video
  • Garbage collector is responsible for releasing the memory (objects) that is not being used by the application. 
  • But GC has limitation that, it can reclaim or release only memory which is used by managed resources. 
  • There are a couple of resources which GC is not able to release as it doesn't have information that, how to claim memory from those resources like File handlers, window handlers, network sockets, database connections etc. 
  • If your application these resources than it's programs responsibility to release un managed resources
GC Generations::

https://www.codeproject.com/Articles/1095402/Garbage-Collection-and-Csharp

GC.SuppressFinalize:
  • SuppressFinalize should only be called by a class that has a finalizer. It's informing the Garbage Collector (GC) that this object was cleaned up fully.
JIT:

LINQ

Dependency Injection

Async and Await:

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/#BKMK_HowtoWriteanAsyncMethod

Delegates:
Delegates flavours
Func<>
Anonymous method/ delegate
LINQ Query syntax and Method syntax, filter and operators here
SOLID principles. SOLID



Dependency Injection and IoC

C# Interview Questions
part1
part2
Static constructor


No comments:

Post a Comment