Page 7 - CSharp/C#
P. 7

Controlling serialization behavior with attributes                                               100

            Adding more control by implementing ISerializable                                                101

            Serialization surrogates (Implementing ISerializationSurrogate)                                  102

            Serialization Binder                                                                             104

            Some gotchas in backward compatibility                                                           106

        Chapter 20: BindingList                                                                             109

          Examples                                                                                           109

            Avoiding N*2 iteration                                                                           109

            Add item to list                                                                                 109

        Chapter 21: Built-in Types                                                                          110

          Examples                                                                                           110

            Immutable reference type - string                                                                110

            Value type - char                                                                                110

            Value type - short, int, long (signed 16 bit, 32 bit, 64 bit integers)                           110

            Value type - ushort, uint, ulong (unsigned 16 bit, 32 bit, 64 bit integers)                      111

            Value type - bool                                                                                111
            Comparisons with boxed value types                                                               112

            Conversion of boxed value types                                                                  112

        Chapter 22: C# 3.0 Features                                                                         113


          Remarks                                                                                            113

          Examples                                                                                           113

            Implicitly typed variables (var)                                                                 113
            Language Integrated Queries (LINQ)                                                               113

            Lambda expresions                                                                                114

            Anonymous types                                                                                  115

        Chapter 23: C# 4.0 Features                                                                         117

          Examples                                                                                           117

            Optional parameters and named arguments                                                          117

            Variance                                                                                         118

            Optional ref keyword when using COM                                                              118

            Dynamic member lookup                                                                            118

        Chapter 24: C# 5.0 Features                                                                         120
   2   3   4   5   6   7   8   9   10   11   12