Skip to content

jia-von/how-to-write-effective-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda Expression Assignment (C# reference)

The goal of this assignment is to learn how to create an tutorial for user to learn a new concept. In this assignment I decided to work on Lambda Expression. This repository will introduce the user to the concept of Lambda Expression using Anonymous function expressions in C# (Microsoft, 2019a). Additionally, the various segments of the expression will be covered in this assignment.

Tutorial

Tutorial for this assignment is available here.

Installation

$ git clone https://github.com/jia-von/how-to-write-effective-documentation.git
$ cd how-to-write-effective-documentation-jia-von
$ cd Lambda_Assignment
$ start devenev Lambda_Assignment.sln

With file explorer:

Open folder Lambda_Assignment

Step 1:

  1. Open project Lambda_Assignment.sln in Visual Studio 2019.

Step 2:

  1. Open Lambda_Assignment.sln within Visual Studio 2019.

Usage

Within Program.cs the user can learn how to create their own delegate to use it with Lambda Expression =>.

Contribute

To contribute, kindly email jiavon@ualberta.ca for further information.

Support

If you are having issues, please email at jiavon@ualberta.ca

References

TutorialsTeacher. 2020a. C# - Anonymous Method. URL: https://www.tutorialsteacher.com/csharp/csharp-anonymous-method

TutorialsTeacher. 2020b. Anatomy of the Lambda Expression. URL: https://www.tutorialsteacher.com/linq/linq-lambda-expression

Microsoft. 2015a. Anonymous functions (C# Programming Guide): The Evolution of Delegates in C#. URL: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-functions

Microsoft. 2015b. Delegates (C# Programming Guide). URL: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/delegates/

Microsoft. 2019a. Lambda expressions (C# reference). URL: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/lambda-expressions.

Microsoft. 2019b. => operator (C# reference). URL: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/lambda-operator

License

This repository is licensed under Creative Commons Zero v1.0 Universal.