Answer the question
In order to leave comments, you need to log in
How to build a string correctly?
There is a form
There are two GroupBox with ComboBox and TextBox
var startCompoundsList = startCompounds.Controls.OfType<ComboBox>(); // Список ComboBox начала реакции
var endCompoundsList = endCompounds.Controls.OfType<ComboBox>(); // Список ComboBox конца реакции
var startMultipleList = startCompounds.Controls.OfType<TextBox>(); // Список TextBox начала реакции
var endMultipleList = endCompounds.Controls.OfType<TextBox>(); // Список TextBox конца реакции
reactionText.Text = "";
γAl2O3+2SiO2(β-кварц)+2H2O = Al2O3·2SiO2·2H2O
Answer the question
In order to leave comments, you need to log in
StringBuilder sb = new StringBuilder();
sb.Append("первая");
sb.Append("вторая");
if(value != 1) sb.Append("строка не равная 1");
sb.Append("третья");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question