static async Task Main(string[] args) { MobileBgDataCollector mobileBgDataCollector = new MobileBgDataCollector(); await mobileBgDataCollector.CollectData(); //MLContext mlContext = new MLContext(); //IDataView data = mlContext.Data.LoadFromTextFile<DataModel>("data.csv", separatorChar: ',', hasHeader: true); ; }
static async Task Main(string[] args) { var text = File.ReadAllText("BrandsModels.txt"); text = text.Replace(@"'", @""""); File.WriteAllText("BrandsModels.txt", text); MobileBgDataCollector mobileBgDataCollector = new MobileBgDataCollector(); await mobileBgDataCollector.CollectData(0, 0); }