旧版报表、仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

43 lines
942 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Warehouse.Controllers
{
public class tstclass {
public int intProp { get; set; }
public int Add() { return 1; }
}
public class HomeController : Controller
{
public ActionResult Index01()
{
tstclass t1 = new tstclass();
t1.Add();
t1.intProp = 6;
var A = new tstclass().intProp;
return View("~/Views/Home/Index01.cshtml");
}
public ActionResult About()
{
ViewBag.Message = "Your application description page.";
return View();
}
public ActionResult Contact()
{
ViewBag.Message = "Your contact page.";
return View();
}
public ActionResult test()
{
return View();
}
}
}