Working with Assemblies and Methods
Everyone
- 9 videos | 54m 5s
- Earns a Badge
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 partitioningRecognize namespace concepts like declaration, nesting, members, and aliasesRecognize how dll references tell visual studio how to put together multiple library (dll) files when you build an executableDescribe how you can reference code that is in an entirely different libraryRecognize 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 methodsRecognize how to pass data values into a method using parametersRecognize how c# parameter values are accepted into a method and how parameter initializers are used to mark parameters as optionalRecognize benefits and uses of optional parameters and the role of default values
IN THIS COURSE
-
5m 37s
-
5m 55s
-
3m 27s
-
6m 39s
-
7m 20s
-
4m 49s
-
7m 5s
-
6m 40s
-
6m 33s
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.