Skip to content

February 2019

stack and heap

visualizing stack and heap with SharpLab

When I wanted to look at the IL of the C# code I wrote I used to create a new console application in visual studio and write the code and build it and view the DLL with ILSpy or dotPeek.

These days I’m using LINQPad to view the IL quickly.

Here is the alternative to that hectic setup, Sharplab.

SharpLab is developed by Andrey Shchekin. SharpLab is a similar tool you can use to Run, De-compile (C#, IL, JIT Asm) and visualizing syntax trees. You can also switch the C# language to whatever you want in SharpLab.

And the good thing about SharpLab is that you don’t need any tools except a web browser.

Read More »visualizing stack and heap with SharpLab

preventdefault-vs-stopbubbling

stopPropagation() and preventDefault() in JavaScript

In this article, we’ll see what is stopPropagation and preventDefault in JavaScript.

In the previous blog post, we looked at what event bubbling is and how we can implement it. If you are unaware of what event bubbling is please take a look at my blog post.

To understand stopPropagation and preventDefault in JavaScript, you need a basic understanding of event bubbling.

Read More »stopPropagation() and preventDefault() in JavaScript