Documenting Function with XML Comments and Lambda Usage

By default, when calling a function such as CardinalToOrdinal, code editors will show a tooltip with basic information, as shown in the figure:

Get hands-on with 1400+ tech skills courses.