[Solved] Property or indexer ‘System.IO.FileInfo.Length’ cannot be assigned to — it is read only


FileInfo.Length is used to get the size of a file, the only way to change a file size is by modifying it’s content

2

solved Property or indexer ‘System.IO.FileInfo.Length’ cannot be assigned to — it is read only