I have a series of textblocks with formulaic names such as "BlockOne", "BlockTwo", etc that are created in my XAML. I want to access the block names with text, ie:
if (output.Contains("206.218.192.186"))
{
TextBlock + "One".Text = "AI";
}
How do I do this?