sender system object get text code example
Example: c# sender text value
private void button2_Click(object sender, EventArgs e)
{
string s = (sender as Button).Text;
}
private void button2_Click(object sender, EventArgs e)
{
string s = (sender as Button).Text;
}