• /r/csharp
  • Manipulate DataGrid data to calculate average of 2 seperate columns

    Trying to manipulate the data in the following datatable to allow me to calculate averages. I want to add all the data in PktsRecieved(XAxis) and PktsRecieved(YAxis) and calculate an average Should I use a Linq query or what is the best way of doing this Thanks List<string[]> rows = File.ReadAllLines(@”E:Final YearUniNoCAnalysisTool2rx.csv”) .Select(x => x.Split(‘,’)) .ToList(); […]

  • /r/csharp
  • Entity Framework model first, SQL not creating tables.

    I am just starting with EF6 (6.1.3) and it appears that whatever tutorial I follow there is one problem after another. I am currently using msdn model first video at “https://msdn.microsoft.com/en-us/library/jj591505(v=vs.113).aspx“ After creating two entities and an association between them, ans saving I generate database from model, and execute the resulting SQL. However the database […]

  • /r/csharp
  • Where do I start learning?

    Hi guys, I want to make a desktop client for Windows that talks to a Node JS API for a finance app. What do think I need to learn to make a good desktop experience? I’ve always went for the hottest technology out there, so I’m not afraid to pursue the latest and best the […]