Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

What does => mean?

Discussion in 'Scripting' started by renman3000, Apr 8, 2014.

Thread Status:
Not open for further replies.
  1. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    Hi sorry for psoting here, but a quick google search yielded no results.

    What does this mean...
    Code (csharp):
    1.  
    2. =>
    3.  
     
  2. KelsoMRK

    KelsoMRK

    Joined:
    Jul 18, 2010
    Posts:
    5,539
    Lambda expression. "goes to" if you're reading the code out loud. ie - x => x.Width > 10 would be "x goes to x dot width is greater than 10"
     
  3. Graham-Dunnett

    Graham-Dunnett

    Administrator

    Joined:
    Jun 2, 2009
    Posts:
    4,287
Thread Status:
Not open for further replies.