Compare commits

...

5 Commits

Author SHA1 Message Date
Patrick M
0f38986d31 Merge 3e3d42023b into 2aee46f169 2024-05-23 02:37:54 -03:00
Julien Le Coupanec
2aee46f169 Merge pull request #381 from FabricioLopees/fix/java
Update readme: fix grammatical error in java.md
2024-04-15 10:53:51 +02:00
FabricioLopees
22977d5ca1 update readme: fix grammatical error in java.md 2024-04-13 13:05:38 -03:00
FabricioLopees
a2c99c9674 update readme: fix grammatical error in java.md 2024-04-13 12:52:16 -03:00
Patrick M
3e3d42023b Garbage collection for C#
Added description and implementation of Garbage collection in the C#.txt file
2021-05-07 13:24:09 -07:00
2 changed files with 15 additions and 1 deletions

View File

@@ -398,3 +398,17 @@ CHEATSHEET C#
KeyPress KeyPressEventHandler(object sender, KeyPressEventArgs e) KeyPress KeyPressEventHandler(object sender, KeyPressEventArgs e)
16. Garbage Collection
16.1 Using statements
//A using statement encapsulates the lifetime of an IDisposable object and auto manages memory
using(SomeManagedClass smc){
//Scope of SomeManagedClass
}
//Garbage collection happens here and the CLR disposes the object

View File

@@ -286,7 +286,7 @@ for(dataType item : array) {
### ACCESS MODIFIERS ### ACCESS MODIFIERS
1. defualt(No keyword required) 1. default(No keyword required)
2. private 2. private
3. public 3. public
4. protected 4. protected