How I can do dropdownlist to contain all datatype in C#
System.Int32,System.string
So Ican select type Of varible from this DropDown
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re just looking for the list of primitive types, you can find one here:
http://msdn.microsoft.com/en-us/library/hfa3fa08%28v=vs.110%29.aspx
Or, if you want a method returning a List of primitive types, try this:
Since it uses Linq, you will need:
using System.Linq;