Skip to content
Coder Cream
View website Menu
  • Home
  • Lifestyle
  • Fashion
  • Travel
  • Contact
  • Your cart
  • Type your search
0 Menu Close
  • Home
  • Lifestyle
  • Fashion
  • Travel
  • Contact
  • Your cart
  • Type your search
  • Browse Blog
  • Contact Us
  • About Us

Blog

How To Determine If A File Exists C#

string curFile = @”c:\temp\test.txt”;
Console.WriteLine(File.Exists(curFile) ? “File exists.” : “File does not exist.”);

Add more languages.

You Might Also Like

Turn on Print Hidden Text in Microsoft Word Document C#

December 7, 2017

WPF vs. WinForms

December 14, 2017

Throw an Exception in C#

November 22, 2017
  • About Us
  • Contact Us
  • Blog
© Copyright - OceanWP Theme by Nick
×
×

Cart