Few Question in C# and Assembly

S

Silent Ocean

Hi All

I have following questions regarding C# Assembly and Threading.

Let me know the precise answer or lead me to the proper materials.

1. Is memory leakeage possible in .Net Manager Code ?
2. Is memory leakage possible in .Net Unmanaged Code ?
3. How can I find the what % of memory is being used by DLL at run time ?
4. What is difference between Sunchronous processing and Async
processing in .Net ? How can I achieve it ?
5. Can any one lead me towards Multithreading GUI development in Winforms ?
6. Difference between Delegate and Event ?
7. Is there any specific Design Patterns specifically for WinForms ?

Awaiting reply

Thanks

Silent Ocean
 
L

Lloyd Dupont

1. Is memory leakeage possible in .Net Manager Code ?
mmhh...
advertising says no, but there are a few situation which could keep unwanted
allocated memory:
- static variable
- event delegate
be carefull with those
2. Is memory leakage possible in .Net Unmanaged Code ?
of course it is, like any other C code
3. How can I find the what % of memory is being used by DLL at run time ? dunno

4. What is difference between Sunchronous processing and Async processing
in .Net ? How can I achieve it ?

synchronous is the classical way you used your function.
Async is different. you call the method and return immediately (the method
run knows in the ThreadPool)
5. Can any one lead me towards Multithreading GUI development in Winforms
?
Are you asking question for an exam?
do some home work!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top