Page 10 - CSharp/C#
P. 10

Examples                                                                                           154
            out var declaration                                                                              154


        Example                                                                                             154

        Limitations                                                                                         155

        References                                                                                          156

          Binary literals                                                                                    156

        Flags enumerations                                                                                  156


          Digit separators                                                                                   157
          Language support for Tuples                                                                        157


        Basics                                                                                              157

        Tuple Deconstruction                                                                                158

        Tuple Initialization                                                                                159

        h11                                                                                                 160


        Type inference                                                                                      160

        Reflection and Tuple Field Names                                                                    160

        Use with generics and async                                                                         160

        Use with collections                                                                                161


        Differences between ValueTuple and Tuple                                                            162

        References                                                                                          162

          Local functions                                                                                    162

        Example                                                                                             162

        Example                                                                                             163


        Example                                                                                             163

          Pattern Matching                                                                                   164

          switch expression                                                                                  164

          is expression                                                                                      165

        Example                                                                                             165

          ref return and ref local                                                                           166

        Ref Return                                                                                          166


        Ref Local                                                                                           166
   5   6   7   8   9   10   11   12   13   14   15