About 50 results
Open links in new tab
  1. c# - What's does the dollar sign ($"string") do? - Stack Overflow

    C# string interpolation is a method of concatenating,formatting and manipulating strings. This feature was introduced in C# 6.0. Using string interpolation, we can use objects and …

  2. What is the difference between i++ and ++i in C#?

    Jul 27, 2010 · C# is not assembler, and out of 99.9% of the times i++ or ++i are used in code, the things going on in the background are just that; in the background. I write C# to climb to …

  3. What does the '=>' syntax in C# mean? - Stack Overflow

    Nov 14, 2008 · From C# 3 to C# 5, this was only used for lambda expressions. These are basically a shorter form of the anonymous methods introduced in C# 2, but can also be …

  4. C# Lambda ( => ) - Stack Overflow

    Apr 7, 2017 · Possible Duplicates: Good tutorials for lambda Lambda Explanation and what it is as well as a good example C# Lambda expression, why should I use this? Can someone …

  5. c# - What does the => operator mean in a property or method?

    See this post Difference between Property and Field in C# 3.0+ on the difference between a field and a property getter in C#. Update: Note that expression-bodied members were expanded to …

  6. operators - In C#, what does '|=' do? - Stack Overflow

    Mar 7, 2012 · I can't seem to Google it - doesn't appear to like the syntax in the search string. Thank you for the help.

  7. c# - What does the `%` (percent) operator mean? - Stack Overflow

    If x and y are non-integer values x % y is computed as x – n * y, where n is the largest possible integer that is less than or equal to x / y (more details in the C# 4.0 Specification in section …

  8. What does the [Flags] Enum Attribute mean in C#?

    Aug 12, 2008 · The sample below is a little long because I am showing you both the custom version and the flags enum. If you remove the flags enum and the associated functions in the …

  9. What do two question marks together mean in C#?

    Jan 15, 2009 · Ran across this line of code: FormsAuth = formsAuth ?? new FormsAuthenticationWrapper(); What do the two question marks mean, is it some kind of …

  10. What does `array[^1]` mean in C# compiler? - Stack Overflow

    Oct 26, 2020 · Okay this is C# 8 feature, but what is equivalent code for this in C# 7? What is ^1 translated to?