Click here to Skip to main content
11,493,233 members (55,558 online)
   

C#

 
AnswerRe: need full tutorial for making audio player in C# Pin
Eddy Vluggen21-Feb-13 9:37
mvpEddy Vluggen21-Feb-13 9:37 
AnswerRe: need full tutorial for making audio player in C# Pin
Abhinav S21-Feb-13 16:36
mvpAbhinav S21-Feb-13 16:36 
AnswerRe: need full tutorial for making audio player in C# Pin
Amir Mohammad Nasrollahi29-Jul-13 22:53
professionalAmir Mohammad Nasrollahi29-Jul-13 22:53 
Questionsimple audio player in C# Pin
Chaman Saini21-Feb-13 6:07
memberChaman Saini21-Feb-13 6:07 
AnswerRe: simple audio player in C# Pin
Pete O'Hanlon21-Feb-13 6:35
protectorPete O'Hanlon21-Feb-13 6:35 
GeneralRe: simple audio player in C# Pin
Chaman Saini21-Feb-13 6:50
memberChaman Saini21-Feb-13 6:50 
GeneralRe: simple audio player in C# Pin
Dave Kreskowiak21-Feb-13 7:04
mvpDave Kreskowiak21-Feb-13 7:04 
GeneralRe: simple audio player in C# Pin
Chaman Saini21-Feb-13 7:10
memberChaman Saini21-Feb-13 7:10 
GeneralRe: simple audio player in C# Pin
Chaman Saini21-Feb-13 7:14
memberChaman Saini21-Feb-13 7:14 
GeneralRe: simple audio player in C# Pin
Dave Kreskowiak21-Feb-13 13:32
mvpDave Kreskowiak21-Feb-13 13:32 
AnswerRe: simple audio player in C# Pin
Richard MacCutchan21-Feb-13 7:32
mvpRichard MacCutchan21-Feb-13 7:32 
QuestionC# WPF Memory Leak [modified] Pin
micwu20-Feb-13 22:54
membermicwu20-Feb-13 22:54 
AnswerRe: C# WPF Memory Leak Pin
Abhinav S20-Feb-13 23:30
mvpAbhinav S20-Feb-13 23:30 
AnswerRe: C# WPF Memory Leak Pin
Keith Barrow21-Feb-13 0:37
mentorKeith Barrow21-Feb-13 0:37 
For the most part .net GC "just works" in .net, obviously this doesn't happen in all cases. It is rare to need to do an explicit GC. This[^] is probably worth a read. The most relevant part to this question is when GC takes place, to quote:

  • The system has low physical memory.
  • The memory that is used by allocated objects on the managed heap surpasses an acceptable threshold. This means that a threshold of acceptable memory usage has been exceeded on the managed heap. This threshold is continuously adjusted as the process runs.
  • The GC.Collect method is called. In almost all cases, you do not have to call this method, because the garbage collector runs continuously. This method is primarily used for unique situations and testing.
When one of these happens, GC takes place.

If you do something that takes up a lot of memory then it can be a good idea to GC, but it is generally discouraged. This is really a tuning thing and depends on your app, if the performance is degraded then you probably do need it.

Hope this answers your question.

AnswerRe: C# WPF Memory Leak Pin
Pete O'Hanlon21-Feb-13 0:46
protectorPete O'Hanlon21-Feb-13 0:46 
GeneralRe: C# WPF Memory Leak Pin
Wu Bin Michael21-Feb-13 16:03
memberWu Bin Michael21-Feb-13 16:03 
GeneralRe: C# WPF Memory Leak Pin
Pete O'Hanlon21-Feb-13 21:28
protectorPete O'Hanlon21-Feb-13 21:28 
AnswerRe: C# WPF Memory Leak Pin
Dave Kreskowiak21-Feb-13 3:28
mvpDave Kreskowiak21-Feb-13 3:28 
GeneralRe: C# WPF Memory Leak Pin
Wu Bin Michael21-Feb-13 15:54
memberWu Bin Michael21-Feb-13 15:54 
GeneralRe: C# WPF Memory Leak Pin
Dave Kreskowiak21-Feb-13 16:27
mvpDave Kreskowiak21-Feb-13 16:27 
AnswerRe: C# WPF Memory Leak Pin
V.21-Feb-13 4:47
memberV.21-Feb-13 4:47 
GeneralRe: C# WPF Memory Leak Pin
Wu Bin Michael21-Feb-13 15:51
memberWu Bin Michael21-Feb-13 15:51 
AnswerRe: C# WPF Memory Leak Pin
Bernhard Hiller21-Feb-13 22:05
memberBernhard Hiller21-Feb-13 22:05 
QuestionHttpwebrequest + Socks5 Pin
mathisderaltefuchs20-Feb-13 22:49
membermathisderaltefuchs20-Feb-13 22:49 
AnswerRe: Httpwebrequest + Socks5 Pin
Pete O'Hanlon21-Feb-13 3:30
protectorPete O'Hanlon21-Feb-13 3:30 
Questionimage resizing Pin
vimalbala20-Feb-13 19:51
membervimalbala20-Feb-13 19:51 
AnswerRe: image resizing Pin
Sandeep Mewara20-Feb-13 23:01
mvpSandeep Mewara20-Feb-13 23:01 
GeneralRe: image resizing Pin
vimalbala23-Mar-13 2:30
membervimalbala23-Mar-13 2:30 
QuestionC# Money Transfer Question [modified] Pin
Jimmy173420-Feb-13 19:10
memberJimmy173420-Feb-13 19:10 
QuestionRe: C# Money Transfer Question Pin
Eddy Vluggen21-Feb-13 9:40
mvpEddy Vluggen21-Feb-13 9:40 
QuestionMD5 hash encrypt and decryption Pin
thekoko8920-Feb-13 16:32
memberthekoko8920-Feb-13 16:32 
GeneralRe: MD5 hash encrypt and decryption Pin
PIEBALDconsult20-Feb-13 18:18
memberPIEBALDconsult20-Feb-13 18:18 
AnswerRe: MD5 hash encrypt and decryption Pin
Bernhard Hiller20-Feb-13 22:12
memberBernhard Hiller20-Feb-13 22:12 
AnswerRe: MD5 hash encrypt and decryption Pin
Dave Kreskowiak21-Feb-13 3:34
mvpDave Kreskowiak21-Feb-13 3:34 
QuestionPost a file to remote server using HTTPWEBREQUEST Pin
vanikanc20-Feb-13 10:07
membervanikanc20-Feb-13 10:07 
AnswerRe: Post a file to remote server using HTTPWEBREQUEST Pin
Eddy Vluggen20-Feb-13 10:51
mvpEddy Vluggen20-Feb-13 10:51 
GeneralRe: Post a file to remote server using HTTPWEBREQUEST Pin
vanikanc20-Feb-13 11:04
membervanikanc20-Feb-13 11:04 
AnswerRe: Post a file to remote server using HTTPWEBREQUEST Pin
Eddy Vluggen20-Feb-13 11:13
mvpEddy Vluggen20-Feb-13 11:13 
GeneralRe: Post a file to remote server using HTTPWEBREQUEST Pin
vanikanc21-Feb-13 3:53
membervanikanc21-Feb-13 3:53 
AnswerRe: Post a file to remote server using HTTPWEBREQUEST Pin
Pete O'Hanlon20-Feb-13 11:18
protectorPete O'Hanlon20-Feb-13 11:18 
GeneralRe: Post a file to remote server using HTTPWEBREQUEST Pin
vanikanc21-Feb-13 3:49
membervanikanc21-Feb-13 3:49 
Questionsource code for navigation Pin
Nani Maneesh20-Feb-13 8:07
memberNani Maneesh20-Feb-13 8:07 
AnswerRe: source code for navigation Pin
Dave Kreskowiak20-Feb-13 8:38
mvpDave Kreskowiak20-Feb-13 8:38 
GeneralRe: source code for navigation Pin
Jibesh20-Feb-13 9:32
memberJibesh20-Feb-13 9:32 
GeneralRe: source code for navigation Pin
Dave Kreskowiak20-Feb-13 12:24
mvpDave Kreskowiak20-Feb-13 12:24 
QuestionHow to Show GIF Image Transparent C# Pin
ishrar19-Feb-13 22:53
memberishrar19-Feb-13 22:53 
AnswerRe: How to Show GIF Image Transparent C# Pin
Alan Balkany20-Feb-13 9:28
memberAlan Balkany20-Feb-13 9:28 
QuestionInstall software and menus depending upon radion button selection option used in MSI Pin
sjs4u19-Feb-13 20:33
membersjs4u19-Feb-13 20:33 
AnswerRe: Install software and menus depending upon radion button selection option used in MSI Pin
Eddy Vluggen20-Feb-13 1:31
mvpEddy Vluggen20-Feb-13 1:31 
GeneralRe: Install software and menus depending upon radion button selection option used in MSI Pin
sjs4u20-Feb-13 19:12
membersjs4u20-Feb-13 19:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 28 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid