C# array .selectedindex code example Example: how to get the selected index of dropdown BY LOVE $('#ddlPartnerType option:selected').index()