Good Day All and Happy New Year 2018!
We are back with the Tuesday’s Featured Post where we discuss a Forum Post or a Forum Thread from the MSDN or TechNet Forums and then highlight the value that they added.
Among the various interesting posts in the forum this is my pick, question regarding Generics asked by Sudip_inn. The post contains the frequently asked question regarding uses of generic type parameter that every new C# learner always face in the beginning of learning and RJP1973 answered to this post with superb step by step explanation.
Let’s see what does RJP1973's answer contains:
- Paraphrase answer with explanation
- Paraphrase code snippet
Let's get into details what value does the paraphrasing provide in answering a thread.
If we look closely to the code snippet that OP provided, in there uses of generic parameter type is defined as per project requirement and is somewhat advance for explaining the basics about what Generic does. So, RJP1973 answered the question by paraphrasing the code snippet in a simple and easy way, then explains each step with great details and Ta-dah! example become quiet easier to understand about the use of generic type parameter <T>.
With this forum post we can see that there is various ways one can provide solution to a question so that it can be effective, simple and easy to provide the fundamental knowledge about the topic asked.