登录
首页 » C# » C#中的序列化和desiralization 演示

C#中的序列化和desiralization 演示

于 2023-05-18 发布 文件大小:53.74 kB
0 137
下载积分: 2 下载次数: 1

代码说明:

在计算机科学中,在数据存储的上下文中序列化是将数据结构或对象状态转化为一种格式,可以存储过程 (举个例子,在一个文件或内存中的缓冲区,或通过网络连接链接传输) 和重建后在同一个或另一个计算机环境。[1] 当由此产生的系列的二进制位重读根据序列化格式,它可以用于创建原始对象的语义上相同的克隆人。对于许多复杂的对象,如那些生产广泛使用的引用,这个过程并不简单。面向对象的对象的序列化不包括任何及其关联的方法,它们以前紧密相连。这一进程的序列化对象也称为编组对象。[2] 相反的操作,从一系列字节中, 提取一种数据结构是反序列化 (这也被称为编组)。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CMOS_if_c
    Access to CMOS RAM.!!!!!!!!!!!!!!!!!!!!!!!!!
    2010-05-24 23:00:42下载
    积分:1
  • SDK_FRAME
    用VS2005编写的一个框架,适合初用SDK编程的人参考,代码可以执行,简单易懂。(Frame program write with VS2005,suit for the SDK primer)
    2013-05-24 08:28:10下载
    积分:1
  • C# 模拟 键盘鼠标操作实例 附源码
    模拟单击开始 按钮
    2013-03-24下载
    积分:1
  • Binary-Search
    If you have not registered, Please [regist first].You should upload at least five sourcecodes/documents. (upload 5 files, you can download 200 files). Webmaster will activate your member account after checking your files. If you do not want to upload source code,
    2011-12-13 19:23:17下载
    积分:1
  • STC51 ADC 采集及串口通讯
    STC51 单片机的 ADC 采集及串口通讯实例,红外测距传感器
    2019-11-26下载
    积分:1
  • c# 自绘饼形图 并显示相关文字(有截图) 附完整源码
    c# 自绘饼形图 并显示相关文字(有截图) 附完整源码
    2013-05-11下载
    积分:1
  • mst703_ds_v01
    晨星Mstar的MST703参考手册。 MST703是一款性价比非常高的视频解码器及小尺寸TFT液晶屏驱动芯片,外围电路简单。(Mstar MST703 Reference Manual. MST703 is a very high cost of video decoders and small size TFT LCD driver chip, the external circuit is simple.)
    2013-09-25 17:47:33下载
    积分:1
  • sniffer1
    C语言实现的监听网络流量的程序,并对截取的报文进行分析。(C language to monitor the flow of network procedures, and analysis of the interception of the message.)
    2017-01-04 15:17:53下载
    积分:1
  • C# SQL Server数据库连接
     【实例源码】朋友们好,该功能在测试中突然发现,通过Windows身份验证时,服务器IP与数据库值为空的时候,测试连接也会提示连接成功,这个BUG请大家给予帮助,谢谢!using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Data;using System.Data.SqlClient;namespace ConData{    public partial class ConnectionData : Form    {        public ConnectionData()        {            InitializeComponent();        }        private void btnSQLOK_Click(object sender, EventArgs e)        {            string strcon = string.Format("server={0};database={1};uid={2};pwd={3};", this.txtIP.Text.Trim(), txtDataBase.Text.Trim(), txtUser.Text.Trim(), txtPwd.Text.Trim());            try            {                using (SqlConnection con = new SqlConnection(strcon))                {                    con.Open();                    MessageBox.Show("测试成功!");                    con.Close();                }            }            catch (Exception ex)            {                MessageBox.Show(ex.Message);            }        }        private void btnWindowsOK_Click(object sender, EventArgs e)        {            string strCon = string.Format("server={0};database={1};Trusted_Connection=SSPI", txtWindowsIP.Text.Trim(), txtWindowsDB.Text.Trim());            try            {                using (SqlConnection con = new SqlConnection(strCon))                {                    con.Open();                    MessageBox.Show("测试成功!");                    con.Close();                }            }            catch (Exception ex)            {                MessageBox.Show(ex.Message);            }        }    }}
    2014-07-11下载
    积分:1
  • libuv-v1.9.1
    说明:  高效服务器编程模型,达到理论100W并发服务(Efficient Server Programming Model)
    2020-06-22 09:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载