Hey Naushin, yes it is possible to setup Selenium webdriver with Visual Studio in C#. You can follow these steps to install and setup Selenium with C#:
-
Launch Visual Studio. Start->Visual Studio ->click.Click on File-> New -> Project.
-
Add Console.WriteLine(“This is Selenium C# test case!!”) to the program.cs file created in above step:

-
Navigate to Tools-> NuGet Package Manager-> Manager NuGet Packages for Solution:

-
Select Browse tab and enter Selenium in search field. Selenium latest Selenium.WebDriver would be visible. Now select the project created and click on Install:

-
Once WebDriver is installed. We should get following message:
