Native object properties in leanft in C sharp

We can access native object properties and methods as shown in below example. Note that we have used NativeObject property to read the value in edit box.
 
IBrowser browser = BrowserFactory.Launch(BrowserType.InternetExplorer);

// Navigate to www.softpost.org
browser.Navigate("https://www.softpost.org/selenium-test-page/");

// Find edit box using Xpath
 IEditField firstName = browser.Describe<IEditField>(new EditFieldDescription
            {
                XPath = "//input[@id='fn']"

            });

            firstName.SetValue("sagar");

            Console.Out.WriteLine(firstName.NativeObject.value);
            //string[] members = nativeElement;

          
            browser.Close(); 
            

Web development and Automation testing

solutions delivered!!