![]() |
|
#1
|
|||
|
|||
Finding text files in C# console applicationsIn C# console applications, isn't there a simpler way than handling exceptions to just find out if a text file of a given name exists in the current directory? I'm talking about something along the same lines as the following methods:
create text file: C-SHARP / C# Code:
C-SHARP / C# Code:
C-SHARP / C# Code:
Last edited by admin : 19-Jan-2009 at 00:06.
Reason: Please insert your example C# codes between [CSHARP] and [/CSHARP] tags
|
|||
|
#2
|
|||
|
|||
Re: Finding text files in C# console applicationsUse File.Exists
to produce something like... C-SHARP / C# Code:
|
Recent GIDBlog
Vista ?Widgets? on Windows XP by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Power Calibration Error In Nero Fix (hopefully) | matt3678 | Computer Hardware Forum | 60 | 20-Aug-2009 05:04 |
| Bloodshed Dev C++ Project Options | JdS | C++ Forum | 6 | 11-Nov-2005 17:23 |
| converting text files to html files | kensenb | C Programming Language | 13 | 09-Nov-2004 11:33 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 10:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The