What is a pure function?
In software development, a pure function is a function with the following properties:
- The function output always depends on the input.
- Has no side effects after evaluation.
Additional resources list
The excellent explanation of pure function you can find here.
The book: Functional Programming in C#: How to write better C# code by Enrico Buonanno.