เมธอด Type.GetElementType() ใน C# ใช้คืนค่า Type ของออบเจ็กต์ที่ถูกรวมหรืออ้างอิงโดยประเภทอาร์เรย์ ตัวชี้ (pointer) หรือประเภทอ้างอิง (reference type) ปัจจุบัน ไวยากรณ์ public abstract Type GetElementType (); ตัวอย่าง ตัวอย่างที่ 1: ดึงชนิดข้อมูลของอาร์เรย์สตริง using System; public class Demo {