Strong Reference - As long as if application refers to the object. GC will not collect those objects. Those objects we say are strong reference objects.
Weak Reference - Even though application refers to the object, GC may collect those...
CTS - Common Type System as name suggest it define types. How types are defined, declared , used and managed by common Language Runtime.? The main part is it supports cross language type integration. Confused ? Let me give you a simple example.
In C# i will define my Integer variable as int and in VB.Net i will say Integer. So when i will try to...
CLS is more about rules of .Net and it's a subset of CTS(Common Type System). You must be thinking of CTS, don't worry will discuss in my next article.
So CLS, is a basic set of language rules needed by the applications. CLS ensures Interoperability...
Welcome friends in the second article of Garbage Collection. Those who have missed the first one can visit here. So in this article i will talk more about Generations.
So
In my last article i mentioned GC has 3 generations: Gen 0, Gen1 and
Gen 2. If you want to know the max generations used by application write : System.GC.MaxGeneration.
Now...
While thinking of this question few things are coming in my mind ~ How .Net reclaims objects and memory used by an application ? So the answer is Garbage Collector
Memory management is the main part of CLR and Garbage Collector does the job...
.Net framework provides a run time environment - CLR. Common language runtime takes the IL code from the compiler( language specific) and provide to code to run time compiler called JIT. So lot of confusion you must be thinking about IL code & Jit ?
IL code is half compile or partially compile code. IL code will be same for all .Net framework...
Hello friends : Here i am writing my first article on .Net framework anyways....So the question is What is .Net Framework ?
The .Net framework is a software framework / technology that supports multiple languages and designed to develop window,...
Var is an implicit data type. It means var can represent any data type that can represent at compile time. So it means var does compile time type casting.
Lets look on some code :
So now we can easily see that from the above code we can...
This is my personal blog and i write articles on .Net, WPF, C#, OOPS, Threading and other .Net technologies. This is not related to any of my employer and organizations. This is the result of my personal interest.