Check out example codes for "c# sender text value". It will help you in understanding the concepts better.

Code Example 1

private void button2_Click(object sender, EventArgs e)
{
    string s = (sender as Button).Text;
}

Learn ReactJs, React Native from akashmittal.com