File Model
This will hold information on each file type
Fields
Name
Type
Description
Example:
using System.Text;
namespace Library.Model;
public struct FileModel
{
// The file extension
public string Extension { get; set; }
// The number of files with the extension
public int Count { get; set; }
// The total number of bytes
public long Bytes { get; set; }
// The total number of characters in each file
public int Characters { get; set; }
// The encoding type
public Encoding Encoding { get; set; }
}Last updated