Click here to Skip to main content
15,905,607 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Can anyone Explain about

Static memory allocation
Dynamic memory allocation
Stack
Heap

with real time examples in c# please
Posted
Updated 16-Jun-15 20:06pm
v2
Comments
Sergey Alexandrovich Kryukov 17-Jun-15 2:05am    
These are the basics of programming. If someone needs explanation on those basics, presently not having clear understanding of them, it means that this person needs to read a whole book and do some exercises to make sure all the concepts are understood correctly. I think you understand that writing such a book specially on your request would be not realistic.

You need to learn it all by available literature (and do the exercises) and ask more specific questions if you have some concerns.

And the expression "real time" here is absurd. None of the OS where you can program in C# are not real-time. You just misuse the term.

—SA
mani kanta 17-Jun-15 3:57am    
I am a learner so I am asking all those for clear understanding
johannesnestler 17-Jun-15 11:05am    
maybe learn to ask specific questions? If you are a "beginner" those concepts are not so "important" in a managed langauge where you don't have to think about memory management for trivial tasks. It's for shure good to have an understanding of those concepts, but asking a question about this Topics like "this", indicates you should take Sergeys advice serious, get a book, do some exercise...
mani kanta 17-Jun-15 21:51pm    
ok thanks for your valuable suggestion

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900