Memory Drive

반응형


자바쪽 WAR

HESSIAN.war





C#쪽 묶음...

hessian_test.zip







디버그용도로 단순 하게만 만든 샘플...

- 기록용...


참고 : 

http://hessian.caucho.com/





반응형

반응형
FontFamily[] fonts = FontFamily.Families;
foreach (FontFamily font in fonts)
     Console.WriteLine(font.Name);
반응형

반응형
반응형

반응형

using System;
using System.Collections.Generic;
using System.Text;

namespace DelegateExample
{
    public class Calc
    {
        public static void Sum(int x, int y)
        {
            Console.WriteLine("{0} + {1} = {2}", x, y, (x + y));
        }

        public static void Mul(int x, int y)
        {
            Console.WriteLine("{0} * {1} = {2}", x, y, (x * y));
        }

        public static void Div(int x, int y)
        {
            Console.WriteLine("{0} / {1} = {2}", x, y, (x / y));
        }

        public static void Sub(int x, int y)
        {
            Console.WriteLine("{0} - {1} = {2}", x, y, (x - y));
        }
    }

    public class MainClass
    {
        public delegate void CalDelegate(int a, int b);

        public static void Main(string[] args)
        {
            CalDelegate caldelegate = new CalDelegate(Calc.Sum);
            caldelegate += new CalDelegate(Calc.Sub);
            caldelegate += new CalDelegate(Calc.Mul);
            caldelegate += new CalDelegate(Calc.Div);
            caldelegate(3, 5);
        }
    }

}


실행결과
사용자 삽입 이미지

반응형