public IActionResult Index() { // Local Variable var value = ""; // Properties of First Object myobject.MyDouble = 12.95; myobject.MyString = "First String"; myobject.MyInt = 12; // Methods of Second Object myobject2.FirstInt(); value = myobject2.FirstStringMethod("Hello First"); myobject2.MyVoid(); // My Text myobject3.GetFirstMethod(); // 25 myobject3.PostSecondMethod(); return(View()); }