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
- 예제
- 기초
- 델파이
- Delphi
- WIN32 SDK
- Visual Studio 2005
- SDK
- 입문
- 인스톨
- 문자열
- dll
- vb
- MySQL
- 시리얼 통신
- SQL
- MFC
- 초보
- 소니
- 설치
- 셋업
- Firebird
- 파라미터
- PostgreSQL
- xml
- c#
- VB.NET
- 파이어버드
- winsock
- 데이터베이스
- Visual Basic
Archives
- Today
- Total
목록struct (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