When I try recording audio following this here, and using the related source code from here in the (voicerecorder.audio project), I face the problem that the recording stops within moments of starting and so does the playback. the recorded file is 46 bytes, and playback is there for less than a second, basically, the thread jumps to the next statement immediately. If I try to sleep the thread, it doesn t help. What can I do to keep it in the recording mode or playback mode until user interrupt ?
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?