C#实现整型数据字任意编码任意进制的转换和逆转换
2021-04-02 18:24
标签:span ++ dex 字符串 line space ons adapter ext C#实现整型数据字任意编码任意进制的转换和逆转换 标签:span ++ dex 字符串 line space ons adapter ext 原文地址:https://www.cnblogs.com/tianjifa/p/9217014.html 1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace ConsoleApplication1
7 {
8
9 public class Number
10 {
11 public string Characters
12 {
13 get;
14 set;
15 }
16
17 public int Length
18 {
19 get
20 {
21 if (Characters != null)
22 return Characters.Length;
23 else
24 return 0;
25 }
26
27 }
28
29 public Number()
30 {
31 Characters = "0123456789";
32 }
33
34 public Number(string characters)
35 {
36 Characters = characters;
37 }
38
39 ///
转自:https://www.cnblogs.com/linxuanchen/archive/2012/02/02/2336099.html
上一篇:C# 抽象(4)
下一篇:win10重装完登录不了微软账号
文章标题:C#实现整型数据字任意编码任意进制的转换和逆转换
文章链接:http://soscw.com/index.php/essay/71486.html