Created
September 14, 2016 10:37
-
-
Save WilliamBundy/ef438c2239f2f0d76852ed0e812ff3c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. use List.Add, hope that .ToArray() works | |
List<string> temp = new List<string>(); | |
temp.Add(desired_username_tb.Text); | |
temp.Add(new_password_tb.Text); | |
temp.Add(Email_tb.Text); | |
DB.login_DB.Add(temp.ToArray()); | |
// 2. Use an array of strings | |
string[] temp = new string[3]; | |
temp[0] = (desired_username_tb.Text); | |
temp[1] = (new_password_tb.Text); | |
temp[2] = (Email_tb.Text); | |
DB.login_db.Add(temp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment