Page 38 - CSharp/C#
P. 38

Capitalization conventions                                                                       664

          Pascal Casing                                                                                      665

          Camel Casing                                                                                       665

          Uppercase                                                                                          665


          Rules                                                                                              665
            Interfaces                                                                                       666

            Private fields                                                                                   666

          Camel case                                                                                         666

          Camel case with underscore                                                                         666

            Namespaces                                                                                       667

            Enums                                                                                            667

          Use a singular name for most Enums                                                                 667

          Use a plural name for Enum types that are bit fields                                               667

          Do not add 'enum' as a suffix                                                                      667

          Do not use the enum name in each entry                                                             668

            Exceptions                                                                                       668

          Add 'exception' as a suffix                                                                        668

        Chapter 105: Networking                                                                             669


          Syntax                                                                                             669

          Remarks                                                                                            669

          Examples                                                                                           669

            Basic TCP Communication Client                                                                   669

            Download a file from a web server                                                                669
            Async TCP Client                                                                                 670

            Basic UDP Client                                                                                 671

        Chapter 106: Nullable types                                                                         673


          Syntax                                                                                             673

          Remarks                                                                                            673

          Examples                                                                                           673

            Initialising a nullable                                                                          674

            Check if a Nullable has a value                                                                  674
            Get the value of a nullable type                                                                 674
   33   34   35   36   37   38   39   40   41   42   43