memory
-
In which location,objects created with new keyword are stored.Is it stack or Heap.Can anyone tell the differences between them.
Heap
Mehedi Hasan
-
Heap
Mehedi Hasan
-
You should google it can't be explain in 1 sentence or more you need to learn by searching the web or reading some books but any way read this article Might be helpfull http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_memory01122006130034PM/csharp_memory.aspx?ArticleID=9adb0e3c-b3f6-40b5-98b5-413b6d348b91[^]
Thanks and Regards Sandeep If you want something you never had, do something you have never done!
-
You should google it can't be explain in 1 sentence or more you need to learn by searching the web or reading some books but any way read this article Might be helpfull http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_memory01122006130034PM/csharp_memory.aspx?ArticleID=9adb0e3c-b3f6-40b5-98b5-413b6d348b91[^]
Thanks and Regards Sandeep If you want something you never had, do something you have never done!
1.All Value Types Stored in :Stack All Reference Types Stored in Heap. 2.Stack Examples: int,double etc Heap Example : Objects,Strings,class,interface,array etc 3.Value type variables contain Actual Value and Reference Type variables contains Address of memory location... :laugh: