From cf552af9ce07b45fca34cbaaf5e6dba857037a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ben=C3=AD=C4=8Dek?= Date: Sat, 28 Oct 2023 09:11:57 +0200 Subject: [PATCH] Added descriptions and .sln project file --- CSVImporter.sln | 25 +++++++++++++++++++++++++ Importer.cs | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 CSVImporter.sln diff --git a/CSVImporter.sln b/CSVImporter.sln new file mode 100644 index 0000000..686b3a2 --- /dev/null +++ b/CSVImporter.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34202.233 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSVImporter", "CSVImporter.csproj", "{E19A7891-7ADA-4004-B4D9-BB523DC55EFD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E19A7891-7ADA-4004-B4D9-BB523DC55EFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E19A7891-7ADA-4004-B4D9-BB523DC55EFD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E19A7891-7ADA-4004-B4D9-BB523DC55EFD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E19A7891-7ADA-4004-B4D9-BB523DC55EFD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2B034D30-10FB-4C05-9471-289752589372} + EndGlobalSection +EndGlobal diff --git a/Importer.cs b/Importer.cs index f38a37c..9bdce86 100644 --- a/Importer.cs +++ b/Importer.cs @@ -5,12 +5,12 @@ namespace CSVImporter public class Importer { /// - /// Import CSV data to 2D List pole + /// Import CSV data to 2D List based field /// /// Path of CSV File /// Separator between values /// Skip first x rows (do not load) - /// + /// List based 2D field. Main list contains collumns and contained list values public static List> ImportCSV(string path, string separator, int skip = 0) { List> Collumns = new List>(); //Initialize Lists Object