Few Question in C# and Assembly

  • Thread starter Thread starter Silent Ocean
  • Start date Start date
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
 
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!
 
Back
Top