static void Main(string[] args) { string fileName = $"{DateTime.Now:yyyy-MM-dd-HH-mm-ss}.bin"; RandomTester.CreateBinaryData(fileName); Console.WriteLine("Done"); Console.ReadLine(); }
private void AButton_Click(object sender, System.EventArgs e) { string fileName = $"{DateTime.Now:yyyy-MM-dd-HH-mm-ss}.bin"; var path = Path.Combine(Application.Context.GetExternalFilesDir(null).AbsolutePath, fileName); RandomTester.CreateBinaryData(path); aButton.Text = path; }
static void Main(string[] args) { //string mainSeed = (args?.Length??0) > 0 ? args[0] : "TasksChooser.RandomTest"; //int contOfColumns = (args?.Length ?? 0) > 1 ? Convert.ToInt32(args[1]) : 100; //int contOfIRows = (args?.Length ?? 0) > 2 ? Convert.ToInt32(args[2]) : 100000; string fileName = $"{DateTime.Now:yyyy-MM-dd-HH-mm-ss}"; RandomTester.CreateBinaryData(fileName + ".bin"); //CreateTextData(fileName + ".csv"); Console.WriteLine("Done"); Console.ReadLine(); }