C# client updated

New version is on Nuget, uploaded by Astro.

Release Notes
Generic AppiumDriver class/subclasses and fix for TryAddCommand.
Fix/Test for hide keyboard.
Separate android and ios drivers, improved namespaces, fixed tests, and redesigned methods and interfaces
Update Selenium NuGet Package to get fix for locator strategy.
Add GetSettings and IgnoreUnimportantViews methods.
Update version due to assembly not matching NuGet.
Update version due to NuGet Package mismanagement.
Update NuGet packages. Add IsLocked() and Start Activity.
Add Pull Folder, Android Input Methods (IME), and Network Connection Methods for use with Appium 1.2
TouchAction + multiActions rewriting,
Project structure overhaul.

Please provide us the code samples right through from instantiating AppiumDriver to quitting the driver.

Or Suggest some changes in the below code

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium; 
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Appium.Android;
using OpenQA.Selenium.Support.UI;
namespace ConsoleApplication1
    class Program
        static void Main(string[] args)
            DesiredCapabilities Usercapabilities;

            Usercapabilities = new DesiredCapabilities();
            Usercapabilities.SetCapability("deviceName", "Nexus 7");
            Usercapabilities.SetCapability("platformName", "Android");
            Usercapabilities.SetCapability("platformVersion", "5.0.2");
            Usercapabilities.SetCapability(CapabilityType.BrowserName, "Chrome");
            AppiumDriver driver = new AppiumDriver(new Uri(""), Usercapabilities);
            WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(12));
            By txt_keywordSearch = By.Name("k");
            By btn_Search = By.XPath("//button[contains(@id,'search-submit')]");
            By section_Searchresults = By.Id("search-results");
            //driver.FindElement(By.XPath("//a[contains(@data-callout-action,'job matching')]")).Click();
            if (driver.FindElement(txt_keywordSearch).Displayed)
                if (driver.FindElement(section_Searchresults).Displayed)
                    Console.WriteLine("successfully Navigated to search results page");
                else {
                    Console.WriteLine("Did not Navigate to search results page");

Thanks in Advance

Samples are on appium’s github page, in the sample-code repo.