zoukankan      html  css  js  c++  java
  • 今天写的代码,可惜没有用上,但想想可能以后还能用上吧。

    是关于自定义数据的简单实现,你可以这样使用。
    //define ConnectionString property.
    CustomProperty<string> ConnectionStringProperty =
        
    new CustomProperty<string>("ConnectionStringProperty");
    //create customData
    CustomData data = new CustomData();
    data.SetValue
    <string>(ConnectionStringProperty, "test");
    string v = data.GetValue<string>(ConnectionStringProperty);
    这个代码主要还是演示如何使用DebuggerDisplayDebuggerTypeProxy功能。
    详细的代码如下:
    CustomProperty

    CustomData
  • 相关阅读:
    站立会议第1天
    博客园用户体验
    风险评估
    寻找正整数中1的个数
    每个小组对本组的意见
    对每个小组的评论和建议
    每日scrum(六)
    每日scrum(五)
    分析电脑控制的丹佛机场行李系统
    每日scrum(四)
  • 原文地址:https://www.cnblogs.com/tansm/p/1099151.html
Copyright © 2011-2022 走看看