http://news.cnblogs.com/n/549591
每天進步1%,一年後的自己將比現在強37倍
目前分類:C# (34)
- Jul 18 Mon 2016 13:28
[轉載]每一个C#开发者必须知道的13件事情
- Jan 15 Tue 2013 19:32
C# Learning Note
- Jan 17 Tue 2012 10:43
Making IDisposable implementation easier
- Dec 20 Tue 2011 15:39
Top 7 Coding Standards & Guideline Documents For C#/.NET Developers
- Dec 09 Fri 2011 15:53
Threading in C#
- Nov 22 Tue 2011 19:23
Exploring Nullable types
- Nov 11 Fri 2011 12:24
C#初学者对Equals方法的几个常见误解
- Nov 04 Fri 2011 16:35
C#: String comparison guidelines and common usage
- Oct 17 Mon 2011 10:47
Type safety
- Oct 14 Fri 2011 16:13
Statements, Expressions, and Operators (C# Programming Guide)
- Sep 29 Thu 2011 14:45
Difference between - 'static public' and 'public static'
- Sep 29 Thu 2011 11:09
C#初学者对Equals方法的几个常见误解
- Sep 29 Thu 2011 10:42
《Effective C#中文版:改善C#程序的50种方法》读书笔记
- Sep 26 Mon 2011 21:50
Access Modifiers (C# Programming Guide)
- Sep 26 Mon 2011 17:14
==, .Equals() and ReferenceEquals()
- Aug 29 Mon 2011 12:58
C# Process.Start Examples
- Aug 15 Mon 2011 19:35
Serialization
http://en.wikipedia.org/wiki/Serialization
.NET Framework
In the .NET languages, classes can be serialized and deserialized by adding the Serializable
attribute to the class.
If new members are added to a serializable class, they can be tagged with the OptionalField
attribute to allow previous versions of the object to be deserialized without error. This attribute affects only deserialization, and prevents the runtime from throwing an exception if a member is missing from the serialized stream. A member can also be marked with the NonSerialized
attribute to indicate that it should not be serialized. This will allow the details of those members to be kept secret.
To modify the default deserialization (for example, to automatically initialize a member marked NonSerialized
), the class must implement theIDeserializationCallback
interface and define the IDeserializationCallback.OnDeserialization
method.
Objects may be serialized in binary format for deserialization by other .NET applications. The framework also provides the SoapFormatter
and XmlSerializer
objects to support serialization in human-readable, cross-platform XML.
- Aug 11 Thu 2011 11:57
BOOK: Beginning Visual C#
- Aug 10 Wed 2011 15:46
C#公共语言运行时 (CLR) 安全模型
- Jul 22 Fri 2011 00:36
Using Sort Keys