ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What is generics in c#? Please explan with example..

user-image
تم إضافة السؤال من قبل mohd ikram , Software Engineer , VSK IT Services Pvt. Ltd.
تاريخ النشر: 2016/08/04
Ahmed Ibrahim Rihan
من قبل Ahmed Ibrahim Rihan , Software Development Supervisor , Orange - Egypt

Generics refers to  writing the code for a class without specifying the data type that the class works on.

You specify the data type when you declare an instance of a generic class. 

Example : are the many collection classes in .NET. Each collection class has it's own implementation of how the collection is created and managed. 

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟