वस्तुओं की सूची से गुणों की सी # सूची

कोड उदाहरण

0
0

सी # सभी वर्ग क्षेत्रों की सूची प्राप्त करें

using System.Reflection;

FieldInfo[] property_infos = typeof(Player).GetFields();
0
0

वस्तुओं की सूची से गुणों की सी # सूची

List<string> firstNames = people.Select(person => person.FirstName).ToList();
0
0

सी # सभी वर्ग क्षेत्रों की सूची प्राप्त करें

// List the properties.
// Use the class you want to study instead of Form1.

PropertyInfo[] property_infos = typeof(Form1).GetProperties(
    BindingFlags.FlattenHierarchy |
    BindingFlags.Instance |
    BindingFlags.NonPublic |
    BindingFlags.Public |
    BindingFlags.Static);

अन्य भाषाओं में

यह पृष्ठ अन्य भाषाओं में है

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................

इस श्रेणी में लोकप्रिय

श्रेणी में उदाहरण के साथ लोकप्रिय पृष्ठों