Hello every one how to sent data in c# in single object with multiple terms for e,g Pizza one term here multiple data like Title , Desc and Second term is Cricket here multiple data like Title , Desc , This type data how to send single object.
Sent data in single object.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jayraj ChhayaRank #304 · 8.2K reputationPosted Apr 8, 2022, 7:30 AM EDT
Use the Below Code and Output.
use the following above Model
Uttam KumarRank #1,076 · 1.8K reputationPosted Apr 8, 2022, 5:12 AM EDT
You use the following class to pass the data in a object
Public class Item{
Public string Name { get; set; }
Public ItemData objItemData { get; set; }
}
public class ItemData {
Public string title { get; set; }
Public string description { get; set; }
}