Files, Directory, IO
Files, Directory, IO
Welcome to Files and IO section of C# Corner. In this section, you will find resources related to System.IO namespace and related classes including File, Directory, System.IO, BinaryReader, BinaryWriter, DriveInfo, FileStream, Stream,StreamReader, StreamWriter, TextReader, TextWriter, StringReader, and StringWriter.

RECENT POSTS

  • Akash Varshney

    Ftp Manager Helper

    Ftp Manager can help you while you work with Ftp functionalities like Upload file , Download file , Removing file from FTP Location .
    Akash Varshney Aug 24, 2016
  • Mahesh Chand

    Amazon Announces Elastic File System for Amazon EC2

    Today, at the AWS Summit, Amazon announced the preview of its new file system, the Amazon Elastic File System.
    Mahesh Chand Feb 21, 2016
  • Sam Hobbs

    Processing Folders Iteratively

    This article provides a sample of retrieving file system directories iteratively.
    Sam Hobbs Dec 23, 2015
  • Manpreet Singh

    How to Manage Files which have no Checked in Version

    In this blog we are going to see how to manage files which are not checked in.
    Manpreet Singh Mar 14, 2015
  • Khargesh Rajput

    Get List of Directory (folder) with Path in Project

    In this code snippet we will learn how to return directories in our project.
    Khargesh Rajput Mar 09, 2015
  • Ajay Yadav

    Password Discovery and Patching by Disassembling

    This article shows how to subvert some of authentication mechanisms, such as extracting vital information imposed in the binary file while source coding, by analyzing the generated hex code itself ...
    Ajay Yadav Feb 25, 2015
  • Vikas Mann

    File Directory Operations

    Using just File.Create will leave the file open, which probably isn't what you want.
    Vikas Mann Aug 19, 2014
  • Shweta Lodha

    There is not Enough Memory to Complete this Operation when Trying to Close the Project Professional

    There is not enough memory to complete this operation when trying to close the Project Professional.
    Shweta Lodha Apr 23, 2014
  • Rohatash Kumar

    Working With the FileInfo Class in C#

    This article will explain the FileInfo class and its use.
    Rohatash Kumar Apr 01, 2014
  • Vidya Vrat Agarwal

    File I/O Using C#

    In this article, you will learn how to work with classes in the System.IO namespace for reading data from and writing data to files.
    Vidya Vrat Agarwal Jan 11, 2014
  • Sahil Maheshwary

    Accessing and Maintaining Log Files

    This article defines how to retrieve values from Log files and Event Log View.
    Sahil Maheshwary Dec 12, 2013
  • Pankaj Pandey

    Copy files from one directory to another

    How to get all file names from a directory/Folder and copy it to another location
    Pankaj Pandey Jun 05, 2013
  • Owais Khan

    How to write or create a text file in C#

    The code snippet in this blog demonstrates how to write or create a text file in C#.
    Owais Khan May 21, 2013
  • Bhushan Bhure

    Remove ReadOnly file attribute

    See this blog code to remove ReadOnly file attribute.
    Bhushan Bhure May 16, 2013
  • Rumman Siddiqui

    File Manager in C#

    File manager is an application that sorts the users file from the system into the proper directory.
    Rumman Siddiqui Dec 13, 2012
  • Krishna Garad

    File Encoding And Decoding In .Net Using Simple IO Operations

    In this blog we will discuss how to encode and decode the files using simple IO operations in .Net.
    Krishna Garad Oct 06, 2012
  • Senthilkumar

    Working with FileInfo and DirectoryInfo classes

    This article explains about the FileInfo and DirectoryClass in the System.IO namespace. The sample application demonstrates how it works.
    Senthilkumar Sep 30, 2012
  • Ghanashyam Nayak

    C# File Operations: Part 1

    In this article we will see how we can write something into the file & how we can append our data into an already existing file.
    Ghanashyam Nayak Sep 30, 2012
  • Ghanashyam Nayak

    C# File Operations: Part 2

    In this article we will see additional file operations like delete a file, copy a file & move a file from source to destination.
    Ghanashyam Nayak Sep 30, 2012
  • Mahesh Chand

    File creation time in C#

    How to check when a file was created in C#
    Mahesh Chand Sep 30, 2012
  • Dinesh Beniwal

    Get File Last Write Time in C#

    In this article we will discuss about how to Get File Last Write Time in C#.
    Dinesh Beniwal Aug 21, 2012
  • Dinesh Beniwal

    Set File Last Write Time in C#

    In this article we will discuss about how to Set File Last Write Time in C#.
    Dinesh Beniwal Aug 21, 2012
  • Dinesh Beniwal

    Decrypt a File in C#

    In this article we will discuss about how to Decrypt a File in C#.
    Dinesh Beniwal Aug 16, 2012
  • Dinesh Beniwal

    Encrypt a File in C#

    In this article we will discuss about how to Encrypt a File in C#.
    Dinesh Beniwal Aug 16, 2012
  • Dinesh Beniwal

    Get File Creation Time in C#

    In this article we will discuss about how to Get File Creation Time in C#.
    Dinesh Beniwal Aug 14, 2012
  • View More