concept signature in category c#

This is an excerpt from Manning's book Functional Programming in C#: How to write better C# code.
The types for the domain and codomain constitute a function’s interface, also called its type, or signature. You can think of this as a contract: a function signature declares that, given an element from the domain, it will yield an element from the codomain.[3] This may sound pretty obvious, but you’ll see in chapter 3 that in reality, violations of the signature contract abound.
Remember, a signature is a contract. The signature int → Risk says “Give me an int (any of the 232 possible values for int) and I’ll return a Risk.” But the implementation doesn’t abide by its signature, throwing an ArgumentException for what it considers invalid input. (See figure 3.2.)
These last two signatures are so expressive that you can make a good guess at the implementation, which is, of course, a desirable trait. When you write an API, you want it to be clear, and if the signature goes hand in hand with good naming in expressing the intent of the function, all the better.