Clap sound detection in C#
There was a similar question asked in the past:
Given an audio stream, find when a door slams (sound pressure level calculation?)
Although the question was not specific to C#, it does have some ideas for algorithms to use. (Disclosure: Yes, I did answer that question.)