Teach me how to use lambda. Please

  • 1
    As in Amazon? Or expressions? Or functions? May need more context here.
  • 3
    Tons of lambdas man. I know my C# lambdas pretty well, but I'm not sure which you are talking about
  • 2
    In what language? Java? Python? Something else?
  • 0
    C# bros
  • 0
    The Microsoft docs on it are great, but the basics are this:
    They are short, useful little functions. A function like
    Public int SquareThing(int x)
    return x * x;

    Is equivalent to
    x => x * x

    That's a shitty example beverage they are so much more powerful, but it's early this morning. Here's the docs:
Add Comment