private static DataBase<string> GenerateDataBaseOfRandomStringElements(int amountOfElements) { var generatorRandomStrings = new GeneratorRandomStrings(amountOfElements); var dataBase = new DataBase<string>(); dataBase.InitializeDataBase(generatorRandomStrings.StringDictionary); return dataBase; }
private static DataBase <string> GenerateDataBaseOfRandomStringElements(int amountOfElements) { var generatorRandomStrings = new GeneratorRandomStrings(amountOfElements); var dataBase = new DataBase <string>(); dataBase.InitializeDataBase(generatorRandomStrings.StringDictionary); return(dataBase); }