Tag - heap

C# Keywords Tutorial Part 78: stackalloc

C# is a contemporary object-oriented programming language that is widely employed in creating various applications. One of its beneficial features is the ability to allocate memory on the stack with the use of the stackalloc keyword. This allows for quicker memory allocation and deallocation than the standard heap allocation methods. In this article, we'll...

C# Keywords Tutorial Part 33: fixed

C# is a programming language that packs a punch with its rich features, and one such feature is the "fixed" keyword. Developers use the "fixed" keyword to define a pointer variable that points to a specific memory location that cannot be changed. In this blog post, we will delve into the intricacies of the...