In C#, I have a return type string[] array.
I have two different datatype data types: string and DateTime.
Is there anyway to return different data types in the same array?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit GuptaRank #190 · 12.8K reputationPosted Dec 17, 2018, 4:06 AM EST
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 18, 2019, 6:00 AM EST