static void Main() { var progressInfo = new StreamProgressInfo(new File("Todor", 1000, 10)); progressInfo.CalculateStreamProgress(); }