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

deserialize xml string to object c#

November 7, 2016

Excel Set Cell Value As Text In C#

September 28, 2017

Search for text between brackets or parenthesis in C#

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

Cart