Working with Assemblies and Methods

Everyone
  • 9 videos | 54m 5s
  • Earns a Badge
Rating 4.7 of 6 users Rating 4.7 of 6 users (6)
In .NET, your code is stored in either dynamic link libraries or EXEs and the term assembly refers to both .NET DLLs and .NET EXEs. In this course, you'll learn how to call code that is stored in another assembly. You'll explore scoping and partitioning with namespaces, how to use namespaces, as well as DLL references and how to use code from a DLL. You'll examine how to store configuration settings for your program outside of the executable using the application configuration file. In this course, you'll also learn about static methods and parameters. You'll explore how to write and call methods, an example of a static method, and how to add a static method to a program. Next, you'll examine the basics of method parameters and return values, as well as named and optional parameters. You'll also learn about overloading methods, basic control flow, looping, and how to return a value from a method. This course was originally created by Global Knowledge (GK).

WHAT YOU WILL LEARN

  • Recognize the purpose of namespaces and how they are used for scoping and partitioning
    Recognize namespace concepts like declaration, nesting, members, and aliases
    Recognize how dll references tell visual studio how to put together multiple library (dll) files when you build an executable
    Describe how you can reference code that is in an entirely different library
    Recognize how you can store configuration settings for your program outside of the executable using the application configuration file
  • Recognize the benefits of breaking large amounts of code into smaller modules like methods
    Recognize how to pass data values into a method using parameters
    Recognize how c# parameter values are accepted into a method and how parameter initializers are used to mark parameters as optional
    Recognize benefits and uses of optional parameters and the role of default values

IN THIS COURSE

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.2 of 111 users Rating 4.2 of 111 users (111)
Rating 4.4 of 5 users Rating 4.4 of 5 users (5)
Rating 4.1 of 21 users Rating 4.1 of 21 users (21)