CarusoSample.SecondDeliverable.PromptFileType C# (CSharp) Метод

PromptFileType() приватный статический Метод

private static PromptFileType ( ) : void
Результат void
        private static void PromptFileType()
        {
            Console.Write("Enter Test Type Primitive/Artifical/Authentic [p/r/a]: ");
            string type = Console.ReadLine();
            if (type == null) return;
            if (type.StartsWith("p"))
            {
                Shred.BUFFER = 0;
                Shred.SAMPLE_SIZE = 1;
            }
            else if (type.StartsWith("r"))
            {
                Shred.BUFFER = 0;
                Shred.SAMPLE_SIZE = 4;
            }
        }