Answer the question
In order to leave comments, you need to log in
How to add 2 characters from box text to array index?
static public List<byte> sed = new List<byte>();
static public byte[] ded = new byte[0];
static public string text;
static public int k = 0;
static public void sending()
{
text = richT.Text;
for (int i=0; i<text.Length; i++)
{
if(text[i].ToString()!=" ") {
sed[k]+= sed.Add(byte.Parse(text[i].ToString()));
}
else
{
k++;
i++;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question