Code:
string charname = "Dan"; var account = new Account { Username = charname }; AccountRepository.Add(account);
but when i try to add the value that i was read from the stream using
Code:
string charname = reader.ReadString(false, length + 1); Console.WriteLine(charname); var account = new Account { Username = charname }; AccountRepository.Add(account);