There, is for example, ViewBag property of ControllerBase class and we can dynamically get/set values and add any number of additional fields or properties to t
ControllerBase
var data = new { studentId = 1, StudentName = "abc" };
Or value is present
var data = new { studentId, StudentName };