Page 37 - CSharp/C#
P. 37

Update Specific User's Out of Office Settings                                                    649

        Chapter 101: Named and Optional Arguments                                                           651


          Remarks                                                                                            651

          Examples                                                                                           651

            Named Arguments                                                                                  651
            Optional Arguments                                                                               653


        Chapter 102: Named Arguments                                                                        656

          Examples                                                                                           656

            Named Arguments can make your code more clear                                                    656

            Named arguments and optional paramaters                                                          656

            Argument order is not necessary                                                                  657
            Named Arguments avoids bugs on optional parameters                                               657

        Chapter 103: nameof Operator                                                                        659

          Introduction                                                                                       659


          Syntax                                                                                             659

          Examples                                                                                           659

            Basic usage: Printing a variable name                                                            659
            Printing a parameter name                                                                        659

            Raising PropertyChanged event                                                                    660

            Handling PropertyChanged events                                                                  660

            Applied to a generic type parameter                                                              661

            Applied to qualified identifiers                                                                 662

            Argument Checking and Guard Clauses                                                              662

            Strongly typed MVC action links                                                                  663

        Chapter 104: Naming Conventions                                                                     664

          Introduction                                                                                       664

          Remarks                                                                                            664

          Choose easily readable identifier names                                                            664

          Favor readability over brevity                                                                     664

          Do not use Hungarian notation                                                                      664

          Abbreviations and acronyms                                                                         664

          Examples                                                                                           664
   32   33   34   35   36   37   38   39   40   41   42