Send double-click event to a web element using Selenium in C#

using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Interactions;
using System;

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 element you want to double-click (replace with your element locator)
        IWebElement elementToDoubleClick = driver.FindElement(By.Id("your_element_id_here"));

        // Create an Actions object
        Actions actions = new Actions(driver);

        // Double-click the element

        // You can add additional actions or interactions here if needed

        // Close the driver when done