Why it is giving error while using richtextBox1.Text in the above code
error:-Non -invocable member 'System.Windows.Forms.Control.Text' cannot be used like an method ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if (port.IsOpen)
{
port.Write(secondpacket, 0, secondpacket.Length);
richTextBox1.Clear();
richTextBox1.Text("Request for download packet is send.......");
System.Threading.Thread.Sleep(10000);
log.Info("Requestdownload is send successfully");
}