dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: need help understanding the syntax

  1. #1
    Join Date
    Jul 2016
    Posts
    2

    need help understanding the syntax

    I am new to c# , trying to understand the existing code .. could someone explain this syntax.. thanks very much


    Run("checkingOpen", () => checkingTest.checkingOpen(driver));

  2. #2
    Join Date
    Jul 2016
    Posts
    2

    Re: need help understanding the syntax

    Quote Originally Posted by oelcharm View Post
    I am new to c# , trying to understand the existing code .. could someone explain this syntax.. thanks very much


    Run("checkingOpen", () => checkingTest.checkingOpen(driver));
    any help would be appreciated

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,178

    Re: need help understanding the syntax

    Right click on the Run method and choose, "goto declaration" to be sure, but it looks like an expression lambda.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)