About 1,410,000 results
Open links in new tab
  1. What extensions are there for generated C# files? - Stack Overflow

    What other generated extensions are there? Thanks. Clarification: I'm only looking files that have a .cs extension, but something comes before the .cs. Meaning that C# files that do not end in …

  2. How to find the extension of a file in C#? - Stack Overflow

    Dec 11, 2009 · 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?

  3. C# - How to extract the file name and extension from a path?

    C# - How to extract the file name and extension from a path? Asked 13 years, 2 months ago Modified 5 years ago Viewed 96k times

  4. Change File Extension Using C# - Stack Overflow

    I have many file types: pdf, tiff, jpeg, bmp. etc. My question is how can I change file extension? I tried this: my file= c:/my documents/my images/cars/a.jpg; string extension = Path.GetExtension(

  5. What are .CSX C# files for? - Stack Overflow

    Aug 20, 2014 · It is a C# Script File introduced with Roslyn: C# Script File (.csx) Editing Support: The CTP introduces a concept of a C# Script File. You can create a .csx file [...] [What is …

  6. Remove file extension from a file name string - Stack Overflow

    Jan 12, 2016 · If I have a string saying "abc.txt", is there a quick way to get a substring that is just "abc"? I can't do an fileName.IndexOf('.') because the file name could be "abc.123.txt" or …

  7. c# - Getting file names without extensions - Stack Overflow

    Jan 26, 2011 · This is because extension is string after last . If here are more than one . other are not extensions. Someone can make name A.B.C.js Are B and C extensions or not?

  8. Determine the file type using C# - Stack Overflow

    I have a web page that has the file upload component to upload the allowed document types only to my system (images only). I don't want to use the regular expression to determine the file …

  9. Find a file with a certain extension in folder - Stack Overflow

    Jun 30, 2010 · Given a folder path (like C:\\Random Folder), how can I find a file in it that holds a certain extension, like txt? I assume I'll have to do a search for *.txt in the directory, but I'm not …

  10. Visual Studio Code doesn't format C# code - Stack Overflow

    Nov 17, 2017 · 7 Browse the Visual Studio Code extension library, and make sure you've got the C# extension installed ms-dotnettools.csharp Press Ctrl + , to open the Settings panel. …