Storing different type of element in Array in C#
How can we store different type of element in an array using C# ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ankur MistryPosted Dec 27, 2017, 1:45 AM
Dharmraj ThakurPosted Dec 27, 2017, 12:08 AM
You can use Tuples which is new feature of c# or .net.
For example:
var t1 = new Tuple
or
Altaf AnsariPosted Dec 26, 2017, 11:59 PM
Amit KumarPosted Dec 26, 2017, 9:52 PM
Ketan HiraparaPosted Dec 26, 2017, 11:36 AM