.net - Stack capacity in C# -
Can anyone tell me that the stack capacity is in C #.
A 3D trap closes the object using an array of 30,000 objects.
The default stack size for the .NET application is 1 MB (32-bit ASP.NET by default 256 KB for apps and 512 KB for 64-bit ASP.NET apps), but you can change this. You can change the default size by modifying the PE header of the executable for the application. For the thread you created, you can use Constructor Overload which takes a stack shape.
But as Anton Tyzi in his answer, arrays are reference types and thus are located on a heap (even if the array is for holding a group of type of value).
Comments
Post a Comment