Page 3 - CSharp/C#
P. 3

Examples                                                                                            30
            Code to access network shared file                                                                30


        Chapter 5: Accessing Databases                                                                       33

          Examples                                                                                            33

            ADO.NET Connections                                                                               33

          Common Data Provider Classes                                                                        33

          Common Access Pattern for ADO.NET Connections                                                       33

            Entity Framework Connections                                                                      34

          Executing Entity Framework Queries                                                                  35

            Connection Strings                                                                                35

          Storing Your Connection String                                                                      36

          Different Connections for Different Providers                                                       36

        Chapter 6: Action Filters                                                                            37

          Examples                                                                                            37

            Custom Action Filters                                                                             37

        Chapter 7: Aliases of built-in types                                                                 39

          Examples                                                                                            39

            Built-In Types Table                                                                              39

        Chapter 8: An overview of c# collections                                                             41

          Examples                                                                                            41

            HashSet                                                                                           41

            SortedSet                                                                                         41

            T[ ] (Array of T)                                                                                 41

            List                                                                                              42

            Dictionary                                                                                        42

        Duplicate key when using collection initialization                                                   43

          Stack                                                                                               43

          LinkedList                                                                                          43

          Queue                                                                                               44

        Chapter 9: Anonymous types                                                                           45

          Examples                                                                                            45
   1   2   3   4   5   6   7   8