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.5 of 13 users Rating 4.5 of 13 users (13)
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)
Rating 3.0 of 1 users Rating 3.0 of 1 users (1)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.1 of 223 users Rating 4.1 of 223 users (223)
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)
Rating 4.3 of 39 users Rating 4.3 of 39 users (39)