c# sender text value 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;
}