Skip to content
Topic

FileInfo class

8 posts about FileInfo class by 3 contributors.

Know FileInfo class? Share what you know with developers who are learning it.

+ Follow FileInfo classBe the first to follow this
Articles
8
Contributors
3

Articles about FileInfo class

  1. Article · Files, Directory, IO

    Get File Extension in C#

    Code sample on C# get file extension. FileInfo.Extension property returns the file extension in C#.

    Mahesh ChandMahesh Chand453,1431,000
  2. Article · C#

    C# FileInfo Code Samples

    The C# FileInfo provides methods to work with files. In this article, you'll learn how to use FileInfo in C#.

    Mahesh ChandMahesh Chand85,4711,000
  3. Article · Files, Directory, IO

    Working With FileInfo In C#

    C# FileInfo class provides functionality to work with files. This article will explain how to use a FileInfo class in C# to work with files and folders.

    Rohatash KumarRohatash Kumar257,5061,000
  4. Article · Files, Directory, IO

    How to get a file size in C#

    Learn how to get file size in C#. Sample code included.

    Mahesh ChandMahesh Chand772,1041,000
  5. Article · Files, Directory, IO

    How to get directory of a file in C#

    How to get the directory name of a file in C# and .NET.

    Mahesh ChandMahesh Chand32,8191,000
  6. Article · ASP.NET

    List All Files in a Folder Based on File Extension in ASP.NET

    This is a very simple article on how to search and list all the files in a folder based on the file extension provided.

    Akkiraju IvaturiAkkiraju Ivaturi78,8071,000
  7. Article · Files, Directory, IO

    Create a file using FileInfo in C#

    Code sample to show how to create a file in C# and get a file attributes such as file creation time, file size, file last updated, file last accessed, and file last write time.

    Mahesh ChandMahesh Chand133,8241,000
  8. Article · Files, Directory, IO

    How to check if a file exists in C#

    How to check if a file exists in C# and .NET. The Exists property of the FileInfo class returns true if a file exists.

    Mahesh ChandMahesh Chand103,2821,000