title: How to find the extension of a file in C#?
body: <p>In my web application (asp.net,c#) I am uploading video file in a page but I want to upload only flv videos. How can I restrict when I upload other extension videos?</p>