// This is the main entry point of the application. static void Main (string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify it here. UIApplication.Main (args, null, "AppDelegate"); cPerson oUser; oUser = new cPerson (); cDeathCalculator dCalc; dCalc = new cDeathCalculator (); oUser.Age = 28; oUser.CigPerDay = 0; dCalc.FindTimeLeft (oUser); }
// This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify it here. UIApplication.Main(args, null, "AppDelegate"); cPerson oUser; oUser = new cPerson(); cDeathCalculator dCalc; dCalc = new cDeathCalculator(); oUser.Age = 28; oUser.CigPerDay = 0; dCalc.FindTimeLeft(oUser); }
public cResultsVC(cPerson voUser) { _User = voUser; oCalc = new cDeathCalculator(); }
public Results() { oCalc = new cDeathCalculator(); }
public cResultsVC(cPerson voUser) : base("cResultsVC", null) { _User = voUser; oCalc = new cDeathCalculator(); }
public Results() { //_User = ((ControllClass)Application)._oUser; oCalc = new cDeathCalculator(); }