<i id='i45ZG'><tr id='i45ZG'><dt id='i45ZG'><q id='i45ZG'><span id='i45ZG'><b id='i45ZG'><form id='i45ZG'><ins id='i45ZG'></ins><ul id='i45ZG'></ul><sub id='i45ZG'></sub></form><legend id='i45ZG'></legend><bdo id='i45ZG'><pre id='i45ZG'><center id='i45ZG'></center></pre></bdo></b><th id='i45ZG'></th></span></q></dt></tr></i><div id='i45ZG'><tfoot id='i45ZG'></tfoot><dl id='i45ZG'><fieldset id='i45ZG'></fieldset></dl></div>

<small id='i45ZG'></small><noframes id='i45ZG'>

    1. <legend id='i45ZG'><style id='i45ZG'><dir id='i45ZG'><q id='i45ZG'></q></dir></style></legend>
        <bdo id='i45ZG'></bdo><ul id='i45ZG'></ul>

      1. <tfoot id='i45ZG'></tfoot>

        如何在 C# 中将数据从字符串转换为长整数

        How could I convert data from string to long in c#(如何在 C# 中将数据从字符串转换为长整数)
          1. <legend id='wWFgB'><style id='wWFgB'><dir id='wWFgB'><q id='wWFgB'></q></dir></style></legend>

                <tbody id='wWFgB'></tbody>
                <bdo id='wWFgB'></bdo><ul id='wWFgB'></ul>

                <small id='wWFgB'></small><noframes id='wWFgB'>

                • <i id='wWFgB'><tr id='wWFgB'><dt id='wWFgB'><q id='wWFgB'><span id='wWFgB'><b id='wWFgB'><form id='wWFgB'><ins id='wWFgB'></ins><ul id='wWFgB'></ul><sub id='wWFgB'></sub></form><legend id='wWFgB'></legend><bdo id='wWFgB'><pre id='wWFgB'><center id='wWFgB'></center></pre></bdo></b><th id='wWFgB'></th></span></q></dt></tr></i><div id='wWFgB'><tfoot id='wWFgB'></tfoot><dl id='wWFgB'><fieldset id='wWFgB'></fieldset></dl></div>
                  <tfoot id='wWFgB'></tfoot>
                  本文介绍了如何在 C# 中将数据从字符串转换为长整数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如何在 C# 中将数据从字符串转换为长整数?

                  How could i convert data from string to long in C#?

                  我有数据

                  String strValue[i] ="1100.25";
                  

                  现在我想要它

                  long l1;
                  

                  推荐答案

                  这个答案不再有效,我想不出比这里列出的其他答案(见下文)更好的答案.请查看并投票.

                  Convert.ToInt64("1100.25")
                  

                  来自 MSDN 的方法签名:

                  Method signature from MSDN:

                  public static long ToInt64(
                      string value
                  )
                  

                  这篇关于如何在 C# 中将数据从字符串转换为长整数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Multicast delegate weird behavior in C#?(C# 中的多播委托奇怪行为?)
                  Parameter count mismatch with Invoke?(参数计数与调用不匹配?)
                  How to store delegates in a List(如何将代表存储在列表中)
                  How delegates work (in the background)?(代表如何工作(在后台)?)
                  C# Asynchronous call without EndInvoke?(没有 EndInvoke 的 C# 异步调用?)
                  Delegate.CreateDelegate() and generics: Error binding to target method(Delegate.CreateDelegate() 和泛型:错误绑定到目标方法)

                    • <bdo id='Ih3LY'></bdo><ul id='Ih3LY'></ul>

                      <small id='Ih3LY'></small><noframes id='Ih3LY'>

                    • <tfoot id='Ih3LY'></tfoot>
                      • <legend id='Ih3LY'><style id='Ih3LY'><dir id='Ih3LY'><q id='Ih3LY'></q></dir></style></legend>
                        1. <i id='Ih3LY'><tr id='Ih3LY'><dt id='Ih3LY'><q id='Ih3LY'><span id='Ih3LY'><b id='Ih3LY'><form id='Ih3LY'><ins id='Ih3LY'></ins><ul id='Ih3LY'></ul><sub id='Ih3LY'></sub></form><legend id='Ih3LY'></legend><bdo id='Ih3LY'><pre id='Ih3LY'><center id='Ih3LY'></center></pre></bdo></b><th id='Ih3LY'></th></span></q></dt></tr></i><div id='Ih3LY'><tfoot id='Ih3LY'></tfoot><dl id='Ih3LY'><fieldset id='Ih3LY'></fieldset></dl></div>
                            <tbody id='Ih3LY'></tbody>