zoukankan      html  css  js  c++  java
  • Convert

     class Applicationdata
     {
       private static ArrayList listxvalue; 
       static Applicationdata()               
            {          
                           listxvalue = new ArrayList();
              }
       public static ArrayList Listxvalue
            {
                get { return listxvalue; }
            }

    // In the main fun
         double[,] transxvalue;
         double[,] xvalue = obtain value from the constructor;
         Applicationdata.Listxvalue.Add(xvalue); // save xvalue into the Listxvalue

         transxvalue = (double[,])Applicationdata.Listxvalue[0];  // Get the value back from Listxvalue.
                                             -----------------------------ArrayList
                             ----------- Convert from ArrayList to double[,] type



  • 相关阅读:
    textarea输入字符有限制
    linux 简单命令
    jQuery animate()
    两张图切换
    表单验证 靠name获取
    jquery验证手机号码
    倒计时
    锚点链接 阻止a标签跳转
    滚动监听: bootstrap 的scrollspy
    MySQL 02
  • 原文地址:https://www.cnblogs.com/greencolor/p/1562184.html
Copyright © 2011-2022 走看看