Cleaned references and imports
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PWAPPv2.Source.DataObjects
|
||||
{
|
||||
@@ -18,11 +15,11 @@ namespace PWAPPv2.Source.DataObjects
|
||||
public NumValList(string Content, char Delim)
|
||||
{
|
||||
string[] split = Content.Split(Delim);
|
||||
if((split.Length % 2) != 0)
|
||||
if ((split.Length % 2) != 0)
|
||||
{
|
||||
throw new UnevenValuesException();
|
||||
}
|
||||
for(int i = 0; i < split.Length; i++)
|
||||
for (int i = 0; i < split.Length; i++)
|
||||
{
|
||||
this.Add(int.Parse(split[i]), split[i + 1]);
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user