Few Questions in C#

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
 
W

William \(Bill\) Vaughn

Well, Mr. Ocean,
A better place for this question would be one of the other Framework
aliases--this one deals with data access (ADO.NET) issues.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
www.sqlreportingservices.net
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
W

WJ

Silent Ocean said:
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 ?

Yes! When one drinks so much, s/he must take a "leak" asap ! There is no
exception to machine, they require IPL once a day/week/month at least (for
MS/OS) depend what is going inside...

John
 
S

Sahil Malik [MVP]

1. Is memory leakeage possible in .Net Manager Code ?
YES
2. Is memory leakage possible in .Net Unmanaged Code ? YES

3. How can I find the what % of memory is being used by DLL at run time ? Can't

4. What is difference between Sunchronous processing and Async processing
in .Net ? How can I achieve it ?
Synchronous is - you can't do anything except wait for an answer. Asynch
is - you are free to do stuff, and the answer responder pinches you when
he/she is ready with the answer. More than 1 ways to acheive it.
5. Can any one lead me towards Multithreading GUI development in Winforms
?
Umm .. huge topic, one important time - never update the UI from a thread
that isn't the thread the UI was created on.
6. Difference between Delegate and Event ?
Not much, Events work using Delegates
7. Is there any specific Design Patterns specifically for WinForms ?
Yup tonnes.

HTH :)

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
 

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