コード例 #1
0
 public bool[] NashValue()
 {
     bool[] options = new bool[2] {
         NashTvCompanies.BestOption(), NashTvCompanies.BestOption()
     };
     return(options);
 }
コード例 #2
0
        public static bool BestOption()
        {
            NashTvCompanies firstDoingPublicity    = new NashTvCompanies(true, false);
            NashTvCompanies firstNotDoingPublicity = new NashTvCompanies(false, false);

            if (firstDoingPublicity.GetFirstWorstEarning() > firstNotDoingPublicity.GetFirstWorstEarning())
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
コード例 #3
0
 public string NashValueNums()
 {
     return(new NashTvCompanies(NashTvCompanies.BestOption(), NashTvCompanies.BestOption()).GetStringEarnings());
 }