Serhat ZorC# — Lock StatementC# has a statement named “lock” to create synchronized code blocks. Every thread has to wait to get the lock to go.Feb 19, 2022Feb 19, 2022
Serhat ZorC# — IDisposable.Net doesn’t know how to close and release unmanaged resources such as network (database etc.) connections and file handles. We should do…Jan 23, 2022Jan 23, 2022
Serhat ZorC# — Action vs FuncActions and Funcs are just delegates in C#. They are pre-defined delegates.Jan 15, 2022Jan 15, 2022
Serhat ZorC# — WeakReference: A Simple Way To Find Memory LeaksWhile developing with C#, we can fall into memory leak situations for many reasons. To solve these issues, we have to analyze annoying…Dec 25, 2021Dec 25, 2021
Serhat ZorC# — IComparable.Net has some useful predefined methods to compare entities.Dec 18, 2021Dec 18, 2021
Serhat ZorC# — Yield KeywordIf you don’t know how to use “IEnumerable” and “IEnumerator” interfaces please visit my article about these, before you read this article.Dec 10, 2021Dec 10, 2021
Serhat ZorC# — IEnumerator & IEnumerableSometimes we need to add an iteration feature for our classes to use it in a “foreach loop”.Dec 4, 20211Dec 4, 20211
Serhat ZorC# — Readonly vs Const“Readonly” and “Const” keywords are very confusing keywords in C#.Nov 28, 2021Nov 28, 2021