public static void Main(string[] args) { WorkWithConsole workWithConsole = new WorkWithConsole(); Ring ring = new Ring(workWithConsole.InputRingData()); workWithConsole.Output(ring.AreaOfRing(), ring.SumOfLengthsOfCircles()); }
public static void Main(string[] args) { WorkWithFileClass workWithFileClass = new WorkWithFileClass(); WorkWithConsole workWithConsole = new WorkWithConsole(); EncryptionClass encryptionClass = new EncryptionClass(); var keyWord = workWithConsole.InputKeyWordFromConsole(); var encryptedMessage = encryptionClass.Encryption(workWithFileClass.ReadFile(), keyWord, workWithFileClass.CreateVigenereTableFromFile()); var decryptedMessage = encryptionClass.Decryption(encryptedMessage, keyWord, workWithFileClass.CreateVigenereTableFromFile()); workWithFileClass.OutputResultToFile(encryptedMessage, decryptedMessage); }
public static void Main(string[] args) { WorkWithConsole workWithConsole = new WorkWithConsole(); workWithConsole.SwichFigureType(); }