Verbs and Nouns in English and C#
Explore the relationship between English verbs and nouns and their counterparts in C# programming. Understand how methods act as verbs and how types, variables, and properties serve as nouns. This lesson clarifies key C# concepts such as method overloading, types versus classes, and the dependency of C# on the .NET platform to help you build a solid foundation in programming.
We’ll dive into the foundation of C# language and see how C# language is related to our everyday language.
Comparison of verbs in English and C# programming language
In English, verbs are doing or action words, like “run” and “jump.” In C#, doing or action words are called methods. There are hundreds of thousands of methods available to C#. In English, verbs change how they are written based on when the action happens. For example:
Amir was jumping in the past.
Beth jumps in the present.
They jumped in the past.
Charlie will jump in the future.
In C#, methods such as WriteLine change how they are called or executed based on the specifics of the action called overloading, which we’ll cover in more detail later. But ...