locked
code question => RRS feed

  • Question

  • User1143311850 posted

    this.ReloadPage(wi => wi.Id == newWi.Id);

    How would this translate to VB.Net?  Or more specifically, can someone tell me what "=>" is?

    Friday, June 27, 2008 2:25 PM

Answers

  • User-125547262 posted

     => is a lambda expression

    http://www.developer.com/net/csharp/article.php/3598381

    See the vb equivalent

    me.ReloadPage(Function(wi ) return wi.ID=newWi.ID)

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, June 27, 2008 2:40 PM

All replies

  • User-125547262 posted

     => is a lambda expression

    http://www.developer.com/net/csharp/article.php/3598381

    See the vb equivalent

    me.ReloadPage(Function(wi ) return wi.ID=newWi.ID)

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, June 27, 2008 2:40 PM
  • User1143311850 posted

    Thanks.

    Friday, June 27, 2008 2:56 PM