Hi Guys
NP123 Syntax
In the msdn website Syntax has been explained. But I couldn’t understand it. For me it looks like strange. For example in the following website Syntax of C# is explained, anyone knows please explain the meaning.
http://msdn.microsoft.com/en-us/library/system.text.stringbuilder(printer).aspx
Syntax
C#
[SerializableAttribute]
[ComVisibleAttribute(true)]
public sealed class StringBuilder : ISerializable
Thank you

AlanRank #669 · 3.6K reputationPosted Aug 14, 2008, 12:23 PM EDT
It probably looks strange, maha, because you're not used to seeing classes which have attributes - the items surrounded by square brackets.
What it's actually telling you is that:
1. StringBuilder is a public class in the .NET framework which is sealed, so no classes can be derived from it.
2. It implements the ISerializable interface.
3. It can be serialized.
4. It's visible to the Component Object Model (COM) - don't worry what this means.
MSDN uses these gray syntax boxes so you can see at a glance what you may need to know about a particular class or type, expressed in the .NET language which you use.
Ryan AlfordRank #1,411 · 1.2K reputationPosted Aug 14, 2008, 11:18 AM EDT
http://www.merriam-webster.com/dictionary/syntax
Posted Aug 14, 2008, 11:29 AM EDT
Syntax has been presented such away (in the above greay box) what does it mean.
Ryan AlfordRank #1,411 · 1.2K reputationPosted Aug 14, 2008, 11:44 AM EDT
Posted Aug 14, 2008, 1:07 PM EDT
What is meant by serialized.
Muhammad Shahid Farooq107 reputationPosted Aug 14, 2008, 2:22 PM EDT
Serialization is the process of converting complex objects into stream of bytes for storage.
Deserialization is its reverse process, that is unpacking stream of bytes to their original form.
For more read the following articles:
http://www.c-sharpcorner.com/UploadFile/bipinjoshi/serializingObjectsinCS11102005234746PM/serializingObjectsinCS.aspx
http://www.codeproject.com/KB/cs/objserial.aspx
http://www.developer.com/net/csharp/article.php/3110371
Posted Aug 14, 2008, 2:25 PM EDT
Thank you for your explanation.