Find td Element inside a tr Element using Selenium in C#

using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;

class Program
    static void Main(string[] args)
        // Create a new instance of the Chrome driver
        IWebDriver driver = new ChromeDriver();

        // Navigate to your web page

        // Find the tr element by its class or other suitable attribute
        IWebElement trElement = driver.FindElement(By.ClassName("rgRow"));

        // Find the td element inside the tr element
        IWebElement tdElement = trElement.FindElement(By.TagName("td"));

        // You can now interact with the tdElement as needed
        // For example, to get its text:
        string tdText = tdElement.Text;

        // Close the driver when done