Page 26 - CSharp/C#
P. 26

In an inherited class with managed resources                                                     440

            using keyword                                                                                    440

        Chapter 74: IEnumerable                                                                             442

          Introduction                                                                                       442


          Remarks                                                                                            442

          Examples                                                                                           442

            IEnumerable                                                                                      442
            IEnumerable with custom Enumerator                                                               442

        Chapter 75: ILGenerator                                                                             444


          Examples                                                                                           444

            Creates a DynamicAssembly that contains a UnixTimestamp helper method                            444
            Create method override                                                                           446


        Chapter 76: Immutability                                                                            447

          Examples                                                                                           447

            System.String class                                                                              447

            Strings and immutability                                                                         447

        Chapter 77: Implementing Decorator Design Pattern                                                   449

          Remarks                                                                                            449

          Examples                                                                                           449

            Simulating cafeteria                                                                             449

        Chapter 78: Implementing Flyweight Design Pattern                                                   451

          Examples                                                                                           451

            Implementing map in RPG game                                                                     451

        Chapter 79: Import Google Contacts                                                                  454

          Remarks                                                                                            454

          Examples                                                                                           454

            Requirements                                                                                     454

            Source code in the controller                                                                    454

            Source code in the view.                                                                         457

        Chapter 80: Including Font Resources                                                                458

          Parameters                                                                                         458
   21   22   23   24   25   26   27   28   29   30   31