Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- MFC
- 입문
- WIN32 SDK
- 예제
- 데이터베이스
- 초보
- vb
- 기초
- 시리얼 통신
- MySQL
- Delphi
- 소니
- SQL
- 설치
- 문자열
- 셋업
- PostgreSQL
- Firebird
- c#
- VB.NET
- SDK
- Visual Basic
- Visual Studio 2005
- 인스톨
- winsock
- 델파이
- dll
- 파이어버드
- xml
- 파라미터
Archives
- Today
- Total
목록구조체 (1)
프로그래밍 노트
C#에서 SOAP 방식으로 구조체를 직렬화(Serialization)하는 예제 소스
using System;using System.IO;using System.Runtime.Serialization.Formatters.Soap; namespace SerializationSoapStruct{ // 대괄호가 붙으면 attribute [Serializable] // 직렬화 struct Person { public string name; public int age; [NonSerialized] // 직렬화하지 않은 변수 public string hobby; } class Program { static void Main(string[] args) { Person personOut = new Person(); personOut.name = "최말봉"; personOut.age = 40; perso..
C#/기초
2012. 12. 12. 19:01