<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3618806622772815864</id><updated>2011-08-02T12:58:41.439-07:00</updated><title type='text'>BloGZonE</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://99iz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://99iz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>KoRn</name><uri>http://www.blogger.com/profile/16787861479125804194</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3618806622772815864.post-3206604021744665412</id><published>2010-07-16T21:44:00.001-07:00</published><updated>2010-07-16T21:44:36.073-07:00</updated><title type='text'>การใช้งาน เมธอด</title><content type='html'>การใช้งาน เมธอด&lt;br /&gt;ในการสร้างเมธอด เมธอดจะต้องอยู่ในคลาสเสมอ มีรูปแบบดังนี้[modifier] return_type method_name([parameter]){//คำสั่ง...........}&lt;br /&gt;modifier ชื่อการเข้าถึงเมธอดนี้ เช่น public,private,protectedreturn_type ถ้าเมธอดส่งค่ากลับไปที่จุดเรียกเมธอดก็ต้องใส่ชนิดของค่าที่จะส่งกลับด้วยแต่ถ้าเมธอดนี้            ไม่ส่งค่ากลับก็ใส่ void  แต่ถ้ามีการส่งค่ากลับจะต้องมี keywork คำว่า return ด้วยmethod_name เป็นชื่อเมธอดเช่น Add,GetValueparameter  พารามิเตอร์นี้จะมีหรือไม่มีก็ได้ถ้าต้องการรับค่าเข้ามาก็ใส่พารามิเตอร์นี้ด้วยแต่ถ้าไม่ต้องการ           รับค่าเข้ามาก็ไม่ต้องใส่ตัวอย่างการสร้างเมธอด&lt;br /&gt;public void SetValue(int value){}ในเมธอดนี้มีชื่อว่า SetValue โดยรับค่า value เข้ามาและในเมธอดนี้ไม่มีการส่งค่ากลับ&lt;br /&gt;ตัวอย่างการใช้งานเมธอด เปิด visual studio 2008 หรือ visual studio 2005 ขึ้นมาไปที่  File-&gt;new-&gt;Project-&gt;Visual c#-&gt;Console Application&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public class TestMethod{    public double AddValue(double x,double y)  //สร้างเมธอด AddValue รับค่าเข้ามา 2 ตัวและส่งค่ากับเป็นชนิด double    {        return x + y;    }    public double SubstractValue(double x, double y)  //สร้างเมธอด SubstractValue รับค่าเข้ามา 2 ตัวและส่งค่ากับเป็นชนิด double    {        return x - y;    }    public static void Main()    {        TestMethod a = new TestMethod();        Console.WriteLine("Call AddValue(2,4) : "+a.AddValue(2,4));// เรียกใช้เมธอด a.AddValue(2,4); เพื่อส่งตัวเลข 2 ไปที่ ตัวแปร x และ 4 ไปที่ตัวแปร y        Console.WriteLine("Call SubstractValue(10,5) : " + a.SubstractValue(10, 5)); // เรียกใช้เมธอด a.SubstractValue(10,5); เพื่อส่งตัวเลข 10 ไปที่ ตัวแปร x และ 5 ไปที่ตัวแปร y        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์จะได้Call AddValue(2,4) : 6Call SubstractValue(10,5) : 5&lt;br /&gt;ตัวอย่างการสร้างเมธอดเพื่อแสดง Date&lt;br /&gt;using System;public class TestMethod{    public string ShowDate()    {        return DateTime.Now.ToShortDateString().ToString(); //แสดงวันที่ปัจจุบัน    }    public static void Main()    {        TestMethod a = new TestMethod();        Console.WriteLine("Date  : " + a.ShowDate());        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์จะแสดงวันที่ปัจจุบันออกมาคือDate :  22/12/2550 (เนื่องจากผมเขียนในวันที่นี้ก็จะแสดงวันที่นี้ออกมานะครับ)&lt;br /&gt;ตัวอย่างการสร้างเมธอดแบบสามารถรับค่าเข้ามาแล้วกำหนดค่าและส่งกลับ&lt;br /&gt;using System;public class Employee{    private string name;    private int age;    private string id;   public Employee(string name, int age)//เป็น Constructor รับค่าเข้ามา 2 ค่า    {        this.id = System.Guid.NewGuid().ToString();//แสดง Guid        this.name = name;        this.age = age;    }    public void SetName(string name)//กำหนด name ใหม่    {        this.name = name;    }    public string GetName()//ส่งค่า name กลับไปที่จุดเรียกใช้เมธอด    {        return name;    }    public void SetAge(int age)//กำหนด age ใหม่    {        this.age = age;    }    public int GetAge()//ส่งค่า age กลับไปที่จุดเรียกใช้เมธอด    {        return age;    }    public string Id()//ส่ง id กลับไปที่จุดเรียกใช้เมธอด    {        return id;    } }public class TestMethod{    public static void Main()    {        Employee emp1 = new Employee("John", 40);//ส่ง John และ 40 ไปที่ Constructor        Console.WriteLine("#Id {0} ", emp1.Id());        Console.WriteLine("Name {0}  ", emp1.GetName());        Console.WriteLine("Age  {0}  ", emp1.GetAge());        Console.WriteLine("Change name and age");        emp1.SetName("Adam");//กำหนดค่า name ใหม่        emp1.SetAge(42);//กำหนดค่า age ใหม่        Console.WriteLine("Name {0}  ", emp1.GetName());        Console.WriteLine("Age  {0}  ", emp1.GetAge());        Console.WriteLine("\n\n\n");        Employee emp2 = new Employee("Jane", 30);//ส่ง Jane และ 30 ไปที่ Constructor        Console.WriteLine("#Id {0} ", emp2.Id());        Console.WriteLine("Name {0}  ", emp2.GetName());        Console.WriteLine("Age  {0}  ", emp2.GetAge());        Console.ReadLine();    }}ผลลัพธ์แสดงดังรูป&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public class Point{    private int x, y;    public Point(int x, int y)    {        this.x = x;        this.y = y;    }    public int GetXValue()    {        return x;    }    public int GetYValue()    {        return y;    }}public class TestMethod{    static void Main()    {        Point p = new Point(3, 4);        Console.WriteLine("x = {0}", p.GetXValue());        Console.WriteLine("y = {0}", p.GetYValue());        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์x = 3y = 4&lt;br /&gt;การใช้งาน Nested MethodNested method เป็นเมธอดที่เรียกเมธอดอีกที&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public class TestMethod{    private int n = 1;    public void MethodOne()    {        Console.WriteLine("This is methodone");        Console.WriteLine("Value is " + n);        Console.WriteLine("\n");        MethodTwo(); // เรียกใช้เมธอด MethodTwo()    }    public void MethodTwo()    {        n++;        Console.WriteLine("This is methodtwo");        Console.WriteLine("Value is " + n);        Console.WriteLine("\n");        MethodThree();//เรียกใช้ MethodThree()    }    public void MethodThree()    {           n++;        Console.WriteLine("This is methodthree");        Console.WriteLine("Value is " + n);    }    public static void Main()    {        TestMethod a = new TestMethod();        a.MethodOne();        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์แสดงดังรูป&lt;br /&gt;การใช้งาน Method recursionmethod recursion เป็นเมธอดที่เรียกตัวเองเช่นต้องการหา factorial ของ 5! ซึ่งมีรูปแบบทางคณิตศาสตร์ดังนี้5! = 5x4x3x2x1 สังเกตุว่าในกระบวนการนี้จะเป็นการทำซ้ำ คือ n(n-1)(n-2)(n-3),...(1) หมายความว่าตัวมันเองจะคูณกับตัวมันเองที่ลดค่าที่ละหนึ่งไปเรี่อยๆถึง 1ซึ่งแนวคิดนี้เราสามารถนำมาใช้กับ method recursion  ได้&lt;br /&gt;ตัวอย่าง การเขียนโปรแกรม recursion&lt;br /&gt;using System;public class TestMethodReCursion{    public int Fac(int n)    {        int result;        if (n == 1  n == 0) //ถ้า n มีค่าเท่ากับ 1 หรือ 0 ก็ใช้แสดง 1 เนื่องจากว่า 1! หรือ 0!  = 0        {            result = 1;        }        else        {            result = n * Fac(n - 1); //ถ้า n มีค่าอื่นๆที่ไม่ใช้ 1 ก็ให้ นำ n คูณกับ ค่าของ n-1 ไปเรื่อยๆ        }        return result;    }    public static void Main()    {        TestMethodReCursion a = new TestMethodReCursion();        Console.WriteLine("5! = {0}",a.Fac(5));        Console.WriteLine("3! = {0}", a.Fac(3));        Console.WriteLine("10! = {0}", a.Fac(10));        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์จะได้ดังรูป&lt;br /&gt;การส่งค่า Parameter ต่างๆ&lt;br /&gt;ปกติแล้วการส่งค่า parameter ต่างๆของเมธอดจะเป็น Passed by Value เสมอ แต่ถ้าเราต้องการให้ส่งค่าแบบอื่นๆก็ใส่ keyword ลงไปเช่น ref เป็นการส่งค่าแบบ reference type จะต้องกำหนดค่าเริ่มต้นให้กับตัวแปรที่ต้องการส่งด้วยparams เป็นการส่งค่า แบบ array หรือสามารถส่งได้หลายๆค่าout เป็นการส่งค่าแบบ out จะคล้ายๆกับ ref แต่ไม่ต้องกำหนดค่าเริ่มต้นให้กับตัวแปรที่ต้องการส่ง&lt;br /&gt;ตัวอย่างการส่งค่าแบบ value&lt;br /&gt;using System;public class TestValueParameter{    public int AddMethod(int i,int j)    {        return i + j;    }    public static void Main()    {        TestValueParameter a = new TestValueParameter();        Console.WriteLine(a.AddMethod(3, 4));        Console.ReadLine();    }}ผลลัพธ์จะได้ 7&lt;br /&gt;ตัวอย่างการส่งค่าแบบ Reference&lt;br /&gt;using System;public class TestRefParameter{    public void TestRef(int i,ref int j)    {        i = 88888;        j = 99999;    }    public static void Main()    {        int i = 1;        int j = 2;        TestRefParameter a = new TestRefParameter();        Console.WriteLine("Before call method TestRef   i ={0}  ,  j = {1}", i, j);        a.TestRef(i, ref j);//เรียกใช้งาน เมธอด TestRef เพื่อส่งค่า i ที่เป็นค่า value และ ค่า j ที่เป็น reference ไป        Console.WriteLine("\n");        Console.WriteLine("After call method TestRef i = {0} , j ={1}", i, j);        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์แสดงดังรูป&lt;br /&gt;คำอธิบายในตัวอย่างนี้ ตัวแปร i จะเป็นการส่งค่าแบบ ปกติคือ แบบ Value ดังนั้นค่าของตัวแปร i จะไม่เปลื่ยนแปลงหลังจากที่เรียกใช้เมธอดTestRef แต่ ตัวแปร j ซึ่งเป็นการส่งค่าแบบ reference ( สังเกต มี ref นำหน้า ) หลังจากที่เรียกใช้เมธอด TestRef ค่าของตัวแปร j จะเปลื่ยนไปเนื่องจากว่าเป็นการส่งแบบ reference&lt;br /&gt;การส่งค่าแบบ out&lt;br /&gt;ในการส่งค่าแบบนี้ จะต้องมี keyword  out นำหน้าตัวแปรที่จะส่งด้วย และไม่ต้องกำหนดค่าเริ่มต้นของตัวแปรที่จะส่ง&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public class TestOutParameter{    public void OutMethod(out int value)    {        value = 20;    }    public static void Main()    {        int value; //ไม่ต้องกำหนดค่าเริ่มต้นในกรณีที่ต้องการส่งแบบ out        TestOutParameter a = new TestOutParameter();        a.OutMethod(out value);        Console.WriteLine("After call OutMethod  :  "+value);        Console.ReadLine();    }}ผลลัพธ์จะได้After call OutMethod : 20 คำอธิบายในตัวอย่างนี้เป็นการส่งแบบ out  ตัวแปร value ที่อยู่ในเมธอด Main()ไม่ต้องกำหนดค่าเริ่มต้นใดๆ   ในเมธอด OutMethod จะกำหนดค่าให้กับ ตัวแปล value เอง&lt;br /&gt;การส่งค่าแบบ paramsในการส่งค่าแบบนี้ จะใช้ keyword  params นำหน้าตัวแปรของ parameterที่รับค่าเข้ามา&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public class TestParamsMethod{    public void TestParams(params int[] a)//กำหนดเมธอดรับค่าแบบ params     {        Console.WriteLine("total  number  is {0}", a.Length);        for (int i = 0; i &lt; a.Length; i++)            Console.WriteLine("member is  {0}",a[i]);    }    public static void Main()    {        TestParamsMethod test = new TestParamsMethod();        int[] a = { 1, 3, 5, 7, 9, 8, 5, 6, 99 };        int[] b = { 1, 2 };        int c = 100;        test.TestParams(a);        Console.WriteLine("\n");        test.TestParams(b);        Console.WriteLine("\n");        test.TestParams(c);        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์จะได้ดังรูป&lt;br /&gt;คำอธิบาย ในตัวอย่างนี้ มีเมธอด TestParams ซึ่งกำหนดให้ parameter รับค่าแบบ params เข้ามาแล้วแสดงผล ในเมธอด Main()จะมีตัวแปร array 2 ตัวคือ a และ b ซึ่งแต่ละตัวจะมีสามาชิกไม่เท่ากัน และ ตัวแปร c ซึ่งมีสมาชิกหนึ่งตัว แล้วมีการเรียกใช้งาน เมธอด TestParams สังเกตุว่าตอนเรียกใช้งานเมธอดที่รับค่าแบบ params เราไม่ต้องกำหนด keyword  params ในตอนที่เรียกใช้ เราสามารถส่งค่าแบบอาร์เรย์ที่มีสมาชิกกี่ตัวก็ได้&lt;br /&gt;การใช้งานเมธอด Overloadเมธอด overload คือเมธอดที่มีชื่อเหมือนกันแต่มีการรับค่า parameter ต่างกัน โดยค่า parameter ต่างกันได่แก่ ชื่อของ parameter,ชนิดของ parameter และ จำนวน parameter ที่รับเข้ามาแต่สำหรับ  return_type ของเมธอดถ้าต่างกันไม่ถือว่าเป็น overload เช่นpublic void Test(){}public void Test(int a){}public void Test(double a){}public void Test(int a,int b){}&lt;br /&gt;ตัวอย่างการใช้งาน method overload&lt;br /&gt;using System;public class TestOverload{    public void AddValue()    {        Console.WriteLine("Call AddValue() : {0}", (3 + 4));    }    public void AddValue(int x, int y)    {        Console.WriteLine("Call AddValue(int x,int y) : {0}", x + y);    }    public void AddValue(double x, double y)    {        Console.WriteLine("Call AddValue(double x,double y) : {0}", x + y);    }    public static void Main()    {        TestOverload a = new TestOverload();        a.AddValue();        a.AddValue(10, 20);        a.AddValue(5.5, 6.7);        Console.ReadLine();    }}ผลลัพธ์แสดงดังรูป&lt;br /&gt;ในตัวอย่างนี้มีการกำหนดเมธอด AddValue ที่เป็น overload กันคือเมธอดแรกไม่มีค่า parameter ใดๆ เมธอดที่สอง รับค่า parameter ที่เป็น int เมธอด ที่สาม รับค่า parameter ที่เป็น double&lt;br /&gt;การใช้งาน Propertiesproperties คือเมธอดที่สามารถกำหนดค่าและreturn ค่าได้เลยในตัวเอง สังเกตว่าถ้าเราสร้างเมธอดที่กำหนดค่าและแสดงค่าเราต้องต้องสร้างเมธอดสองเมธอด้วยกันคือprivate int number;&lt;br /&gt;public void SetVAlue(int value){ number = value;}&lt;br /&gt;public int GetValue(){return number;}&lt;br /&gt;แต่ใน properties เราสามารถกำหนดเพียงแค่ 1 properties ได้ดังนี้&lt;br /&gt;private int number;&lt;br /&gt;public int Number{&lt;br /&gt;get{  return number;}&lt;br /&gt;set{number = value;}&lt;br /&gt;}&lt;br /&gt;ตัวอย่างการใช้งาน properties&lt;br /&gt;using System;public class TestProperties{    private int number;    public TestProperties()    {        this.number = 0;    }    public TestProperties(int number)    {        this.number = number;    }    public int Number  //สร้าง Properties ที่ชื่่อ Number    {        get        {            return number;        }        set        {            number = value;        }    }}public class TestMainClass{    public static void Main()    {        TestProperties t = new TestProperties();        Console.WriteLine(t.Number);  //แสดงค่าของ Properties        t.Number = 9999; //กำหนดค่าของ Properties         Console.WriteLine(t.Number); //แสดงค่าของ Properties        Console.WriteLine();        TestProperties u = new TestProperties(100);        Console.WriteLine(u.Number);        u.Number = 100000;        Console.WriteLine(u.Number);        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์จะได้09999&lt;br /&gt;100100000&lt;br /&gt;การใช้งาน static methodstatic method คือเมธอดที่กำหนด keyword  static นำหน้าโดยสิ่งสำคัญเกี่ยวกับ static method คือ&lt;br /&gt;static  method จะไม่สามารถใช้ this ใน static method ได้static  method สามารถเรียนผ่านเมธอดที่เป็น static ด้วยกันได้static  method จะใช้กับตัวแปรที่เป็น static เท่านั้นstatic  method ไม่สามารถใช้กับ instance ของคลาสที่สร้างโดยใช้ new&lt;br /&gt;รูปแบบเช่นpublic static void Test(){}&lt;br /&gt;ตัวอย่างการใช้งาน static method&lt;br /&gt;using System;public class TestStaticMethod{    private static int value;    private int number; //ตัวแปรนี้ ไม่สามารถใช้กับเมธอด ShowValue ได้เนื่องจากว่าเมธอด ShowValue กำหนดเป็น static    public static void ShowValue() //static method    {        value = 10;        Console.WriteLine("value is {0}", value);    }    public static void Main()    {        ShowValue(); //สามารถเรียกใช้งาน ShowValue() ได้เลยเนื่องจากว่า Main() เป็น static เมธอดอยู่แล้วสามารถเรียกใช้ static เมธอดตัวอื่นๆได้        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์จะได้value is 10&lt;br /&gt;การใช้งาน Static properties&lt;br /&gt;static properties จะคล้ายๆกับ static method คือสามารถเรียกใช้ตัวแปรที่เป็น static ด้วยกันได้&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public class TestStaticProperties{    private static int number;    public TestStaticProperties()    {    }    public static int Number    {        get        {            return number;        }        set        {            number = value;        }    }    public static void Main()    {        TestStaticProperties.Number = 3456; //กำหนดค่าให้กับ static properties        Console.WriteLine(TestStaticProperties.Number); //แสดงค่าของ static properties        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์จะได้3456&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3618806622772815864-3206604021744665412?l=99iz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://99iz.blogspot.com/feeds/3206604021744665412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://99iz.blogspot.com/2010/07/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/3206604021744665412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/3206604021744665412'/><link rel='alternate' type='text/html' href='http://99iz.blogspot.com/2010/07/blog-post.html' title='การใช้งาน เมธอด'/><author><name>KoRn</name><uri>http://www.blogger.com/profile/16787861479125804194</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3618806622772815864.post-2255855060630428127</id><published>2010-07-16T21:37:00.002-07:00</published><updated>2010-07-16T21:38:28.078-07:00</updated><title type='text'>การใช้งาน Enum และ Struct</title><content type='html'>การใช้งาน Enumeration,Struct&lt;br /&gt;การใช้งาน Enum&lt;br /&gt;enumeration จะมีชนิดเป็น integer type ซึ่ง เราสามารถกำหนดกลุ่มของข้อมูลได้ (User-defined)&lt;br /&gt;ในการสร้าง enumeration เราจะใช้ keyword คำว่า  enum  ดังนี้&lt;br /&gt;&lt;br /&gt;public enum Colors{  White,  Black,  Red,  Green,  Blue}&lt;br /&gt;&lt;br /&gt;ในตัวอย่างนี้สร้าง enum ที่ชื่อว่า Colors โดยมีสมาชิกอยู่ 5 สมาชิกคือ White,Black,Red,Green,Blueโดยสมาชิกต่างๆของ enum ถ้าเราไม่ได้กำหนดค่าเริ่มต้นจะมีค่าเริ่มต้นจาก 0 ดังนี้white = 0Black =1Red =2Green=3Blue=4&lt;br /&gt;ในการเรียกใช้งาน enum&lt;br /&gt;Colors  c = Colors.Green; //สร้างตัวแปร c ขึ้นมาเพื่อเรียกใช้สมาชิกที่ชื่อ Green&lt;br /&gt;ตัวอย่าง enum&lt;br /&gt;using System;public enum Colors{    White,    Black,    Red,    Green,    Blue}public class TestEnum{    public static void Main()    {        Colors c = Colors.Blue;        Console.WriteLine(c);        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;ผลลัพธ์จะแสดง Blue&lt;br /&gt;จากตัวอย่างนี้ถ้าต้องการให้แสดงเป็น integer type   เราก็เขียนได้ดังนี้&lt;br /&gt;Console.WriteLine((int)c);&lt;br /&gt;&lt;br /&gt;ผลลัพธ์จะได้ 4&lt;br /&gt;เราสามารถกำหนดค่าให้กับสมาชิกของ  enum ได้ดังนี้&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public enum Colors{  Red = 10,  Green =20,  Blue=30}&lt;br /&gt;&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public enum Colors{  Red = 10,  Green =20,  Blue=30}public class TestEnum{    public static void Main()    {        Colors c = Colors.Green;        Console.WriteLine((int)c);        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;ผลลัพธ์จะได้ 20&lt;br /&gt;นอกจากนี้สามารถเขียนรับค่า value มาจาก enum ได้อีกแบบคือ&lt;br /&gt;Colors c = (Colors)Enum.Parse(typeof(Colors), "Blue", false);&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public enum Colors{  Red = 10,  Green =20,  Blue=30}public class TestEnum{    public static void Main()    {        Colors c = (Colors)Enum.Parse(typeof(Colors), "Blue", false);        Console.WriteLine((int)c);        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;ผลลัพธ์จะได้  30&lt;br /&gt;การใช้งาน switch กับ enum&lt;br /&gt;using System;public enum Colors{  Red = 10,  Green =20,  Blue=30}public class TestEnum{    public static void Main()    {        CallEnums(Colors.Red);        Console.ReadLine();    }    public static void CallEnums(Colors c)    {        switch (c)        {            case Colors.Red: Console.WriteLine(" Red Color "); break;            case Colors.Green: Console.WriteLine("Green Color"); break;            case Colors.Blue: Console.WriteLine("Blue Color"); break;            default: Console.WriteLine("invalid input"); break;        }    }}&lt;br /&gt;&lt;br /&gt;ผลลัพธ์จะได้ Red Color&lt;br /&gt;&lt;br /&gt;ตัวอย่างการใช้สมาชิกของ enum คำนวนค่า&lt;br /&gt;using System;public enum TestValue{     a = 10,     b= 30,     c= a+b}public class TestEnum{    public static void Main()    {        TestValue v = TestValue.c;        Console.WriteLine((int)v);        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;ผลลัพธ์จะได้ 40&lt;br /&gt;การวนลูปเพื่อแสดงสมาชิกของ enum&lt;br /&gt;using System;public enum Colors{    Red,Green,Blue,White,Black}public class TestEnum{    public static void Main()    {        Colors c;        for (c = Colors.Red; c &lt;= Colors.Black; c++) //วนลูปเพื่อแสดงสมาชิกแต่ละตัวของ Colors        {            Console.WriteLine("value is {0} ", c);        }        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์แสดงดังรูป&lt;br /&gt;&lt;br /&gt;การใช้งาน GetValues() ใน enum&lt;br /&gt;using System;public enum Weeks{    Sun,Mon,Tue,Wed,Thr,Fri,Sat}public class TestEnum{    public static void Main()    {        Weeks w = Weeks.Sun;        foreach (int i in Enum.GetValues(w.GetType())) //วนลูปเพื่อแสดงค่าสมาชิกแต่ละตัว         {            Console.WriteLine("value is {0}", Enum.GetName(w.GetType(), i)); //แสดงชื่อของสมาชิกแต่ละตัว        }        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;ตัวอย่าง การใช้ GetNames()&lt;br /&gt;using System;public enum Weeks{    Sun,Mon,Tue,Wed,Thr,Fri,Sat}public class TestEnum{    public static void Main()    {        Weeks w = Weeks.Sun;        foreach (string str in Enum.GetNames(w.GetType()))        {            Console.WriteLine("value is {0}",str);        }        Console.ReadLine();    }}&lt;br /&gt;ผลลัพธ์แสดงดังรูป&lt;br /&gt;การเปรียบเทียบค่าของสมาชิกใน enum&lt;br /&gt;using System;public enum AsciiCode{   A = 65,    B =66,   C=67,   D =68}public class TestEnum{    public static void Main()    {        AsciiCode a = AsciiCode.C;        AsciiCode b = AsciiCode.B;        if (a &lt;&gt; {1}", Convert.ToInt32(a),Convert.ToInt32(b));        }        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;ผลลัพธ์ จะได้ 67 &gt; 66&lt;br /&gt;การตรวจสอบว่ามีสมาชิกตามที่เรากำหนดหรือไม่&lt;br /&gt;using System;public enum Colors{  Red,Green,Blue}public class TestEnum{    public static void Main()    {        if (Enum.IsDefined(typeof(Colors), "White"))  //ใช้ IsDefined ตรวจสอบสมาชิกของ enum         {             Console.WriteLine("Valid member");        }        else        {            Console.WriteLine("Invalid member");        }        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;ผลลัพธ์จะได้ Invalid member เนื่องจาก enum ที่ชื่อ Colors ไม่มีสมาชิก White&lt;br /&gt;&lt;br /&gt;การใช้งาน Struct&lt;br /&gt;struct จะคล้ายๆกับ class ใช้สร้างกลุ่มข้อมูลต่างๆ เช่น เมธอด,properties,member variable&lt;br /&gt;ข้อแตกต่างระหว่าง class กับ struct1. Struct เป็น Value Type ส่วนคลาสเป็น Reference type2. Struct ไม่สามารถใช้ Interitance 3.  สมาชิกของStruct ไม่สามารถระบุเป็น abstract,virtual4.  Default Contructor จะถูกสร้างขึ้นมาทุกครั้งเมื่อสร้าง struct และ ค่า default Constructor จะไม่สามารถเปลี่ยนแปลงได้5. Struct เราสามารถกำหนด Constructor ได้แต่ไม่สามารถกำหนด Destructor&lt;br /&gt;รูปแบบ struct&lt;br /&gt;struct struct_name{//member ต่างๆ}&lt;br /&gt;struct เป็น keyword จะต้องประกาศทุกครั้งเมื่อสร้าง structstruct_name เป็นชื่อของ struct&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public struct TestColor{    public string mycolor;    public TestColor(string color)    {        mycolor = color;    }    public string Color    {        get        {            return mycolor;        }        set        {            mycolor = value;        }    }}public class TestStruct{    public static void Main()    {        TestColor c = new TestColor("Green");        Console.WriteLine(c.Color);        c.Color = "Blue";        Console.WriteLine(c.Color);        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ตัวอย่าง&lt;br /&gt;using System;public struct TestColor{    public string mycolor;}public class TestStruct{    public static void Main()    {        TestColor c;        c.mycolor = "White";        Console.WriteLine(c.mycolor);        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;การใช้งานเมธอด ใน struct&lt;br /&gt;&lt;br /&gt;using System;public struct Rectangles{    public double width;    public double height;    public Rectangles(double width, double height)    {        this.width = width;        this.height = height;    }    public double Size()    {        return width * height;    }}public class TestStruct{    public static void Main()    {        Rectangles r = new Rectangles(4.4, 6.6);        Console.WriteLine(r.Size());        Console.ReadLine();    }}&lt;br /&gt;&lt;br /&gt;การใช้งาน Generic struct&lt;br /&gt;&lt;br /&gt;using System;using System.Collections.Generic;struct TestGeneric&lt;t&gt;{    public T value1, value2;    public TestGeneric(T value1, T value2)    {        this.value1 = value1;        this.value2 = value2;    }    public T Value1    {        get        {            return value1;        }        set        {            value1 = value;        }    }    public T Value2    {        get        {            return value2;        }        set        {            value2 = value;        }    } }public class TestStruct{    static void Main()    {        TestGeneric&lt;int&gt; a = new TestGeneric&lt;int&gt;(4, 8);        Console.WriteLine(a.Value1 + "   " + a.Value2);        a.Value1 = 10;        a.Value2 = 20;        Console.WriteLine(a.Value1 + "   " + a.Value2);        Console.ReadLine();    }} &lt;br /&gt; ผลลัพธ์4  810  20&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3618806622772815864-2255855060630428127?l=99iz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://99iz.blogspot.com/feeds/2255855060630428127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://99iz.blogspot.com/2010/07/enum-struct.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/2255855060630428127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/2255855060630428127'/><link rel='alternate' type='text/html' href='http://99iz.blogspot.com/2010/07/enum-struct.html' title='การใช้งาน Enum และ Struct'/><author><name>KoRn</name><uri>http://www.blogger.com/profile/16787861479125804194</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3618806622772815864.post-4040436674114240505</id><published>2010-07-16T21:37:00.001-07:00</published><updated>2010-07-16T21:37:43.659-07:00</updated><title type='text'>การเขียน c#.net เพื่อติดต่อกับ LDAP</title><content type='html'>ในตัวอย่างนี้ผมทดสอบ ดึง username,password มาจาก Window Server ในส่วนของ OU นะครับซึ่งใน OU (Organization Unit ) นี้ผมได้เก็บชื่อ user ต่างๆมากมายรวมถึงเก็บ สิทธิ์ในการ login เข้าเข้าสู่ window serverผมได้สร้าง web form ขึ้นมา หน้านึง ที่มีหน้าตาดังรูป&lt;br /&gt;จากนั้น ก็คลิกที่ปุ่ม Submit แล้วเขียนโค้ดดังนี้(ก่อนที่จะใช้งาน DirectoryEntry ให้ไป add reference  library ที่ชื่อ System.DirectoryServices ก่อน  จากนั้นก็เรียกใช้ using System.DirectoryServices;และในการติดต่อ ldap สิ่งแรกคือจะต้องรู้ LDAP Server ก่อนนะครับ )&lt;br /&gt;ตัวอย่างโค้ด protected void Button1_Click(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;string username = txtUsername.Text;&lt;br /&gt;string password = txtPassword.Text;&lt;br /&gt;string path = "192.x.x.x"; //ip ของ window server ที่จะติดต่อ&lt;br /&gt;DirectoryEntry direct_entry = new DirectoryEntry();&lt;br /&gt;direct_entry.Path = path;&lt;br /&gt;direct_entry.Username = username;&lt;br /&gt;direct_entry.Password = password;&lt;br /&gt;if (IsCheckUserExist(username)) //ถ้ามี user อยู่ในระบบจริงก็ให้ไปที่หน้า hellomember.aspx&lt;br /&gt;{&lt;br /&gt;Response.Redirect("hellomember.aspx");&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;Response.Write("กรุณาใส่ username,password ให้ถูกต้อง");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;public bool IsCheckUserExist(string username)&lt;br /&gt;{&lt;br /&gt;DirectoryEntry direct_entry = GetDirectoryEntry();&lt;br /&gt;DirectorySearcher direct_search = new DirectorySearcher();&lt;br /&gt;direct_search.SearchRoot = direct_entry;&lt;br /&gt;direct_search.Filter = "(&amp;amp;(ObjectClass=user)(SAMAccountName=" + username + "))"; //ตรวจสอบเฉพาะ username ที่ใส่เข้ามาทาง textbox&lt;br /&gt;SearchResultCollection result_col = direct_search.FindAll();&lt;br /&gt;return result_col.Count &gt; 0; //ถ้ามี username ชื่อนี้อยู่ในระบบ server จริงก็ให้ ส่งค่า true ไปที่ event ที่ชื่อ Button1_Click&lt;br /&gt;}&lt;br /&gt;public DirectoryEntry GetDirectoryEntry()&lt;br /&gt;{        DirectoryEntry direct_entry = new DirectoryEntry("&lt;a href="ldap://192.x.x.x"&gt;LDAP://192.x.x.x",txtUsername.Text,txtPassword.Text);//กำหนด&lt;/a&gt; LDAP Server , username,password&lt;br /&gt;direct_entry.AuthenticationType = AuthenticationTypes.Secure;&lt;br /&gt;return direct_entry;&lt;br /&gt;}&lt;br /&gt;นี้เป็นตัวอย่างโค้ดที่ผมเขียนขึ้นเพื่อติดต่อ LDAP ผมเขียนใน Website นะครับถ้าจะทำเป็น web service ก็เขียนคล้ายกับตัวอย่างนี้ลองเอาไปประยุกต์ใช้ดูครับ&lt;br /&gt;โดยสิ่งสำคัญหลักๆใน ตัวอย่างนี้คือ ให้ผู้ใช้ สามารถ login ผ่านหน้า web site ได้ โดยผู้ใช้งานจะต้องมี username,password อยู่ใน ส่วนของ OU ใน Window server ก่อน&lt;br /&gt;แล้วพอกดปุ่ม Submit ทางโปรแกรมก็จะติดต่อ เพื่อตรวจสอบ username,password ผ่าน protocal : LDAP&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3618806622772815864-4040436674114240505?l=99iz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://99iz.blogspot.com/feeds/4040436674114240505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://99iz.blogspot.com/2010/07/cnet-ldap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/4040436674114240505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/4040436674114240505'/><link rel='alternate' type='text/html' href='http://99iz.blogspot.com/2010/07/cnet-ldap.html' title='การเขียน c#.net เพื่อติดต่อกับ LDAP'/><author><name>KoRn</name><uri>http://www.blogger.com/profile/16787861479125804194</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3618806622772815864.post-1412456132917946436</id><published>2009-12-29T16:25:00.002-08:00</published><updated>2009-12-29T16:26:44.267-08:00</updated><title type='text'>You trust "lovers" How much of you?</title><content type='html'>One day a pair of men and women. And more couples together. Men promise women that .. I will love you forever. Women are told to believe that you and I will love you as I love the best. 2 taken together, both in the short period of time. During that 2 people can walk hand in hand. In the park ... Angels are one body to appear with that. "You both have 2 pure love each other ... We want to give you. You can see the future of both 2 ". Male or female partner is the tight handshake. And are delighted that his love and her. Angels come to meet together. Angels are speaking to that. "You will see your future, and 2 since this is not" male and female couples look together. Then meet with that ... "We do not fear the future and 2, we are confident in each other". Angels heard so magical out of a 2 disc CD providing both to see the future. Home of the young woman young women rarely delve any CD from Angels. Then insert the CD into the picture. See in the image of her fans and her first pair. Smile split her cheeks. Have not been told very happy. The young woman behind the image they see. She is a fan of Cbchog. She sat tearful regret... Suddenly asked knock at the door of her room. She soon shut down and wipe the tears running VCDs to open the door. Appear to be fans of her own fans, her smile. But her anger, so they slap face badly. And close the door by the other man be. Her cry to sleep to the future as in the VCD. Then she tried scarce man loves her. The men who matter so much forgiveness. The men themselves do not know what wrong. She seeks out the man accomplished. Until one day ... it is knock the door she opened the door ... But suddenly... People knock the door and turned back to free range then. Her mind was well back of the former male self love. She found the CD a prime view of the disc has fairy men. She brought this CD disc image to open again the same is found. ... Fig both very happy couple. But after the wedding video is... Pictures man with her new lover. The fans of her tearful neighbor. Her tearful and video off slowly. She hardly any open letter attached to this CD review. Wrote messages. "I do not fear the future, we are confident in each other. Thank you, although I will believe in any single department goodbye ". Word that makes people trust only the union between 2 people very happy. You trust each of you who love much?     Thank the sweet article.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3618806622772815864-1412456132917946436?l=99iz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://99iz.blogspot.com/feeds/1412456132917946436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://99iz.blogspot.com/2009/12/you-trust-lovers-how-much-of-you.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/1412456132917946436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/1412456132917946436'/><link rel='alternate' type='text/html' href='http://99iz.blogspot.com/2009/12/you-trust-lovers-how-much-of-you.html' title='You trust &quot;lovers&quot; How much of you?'/><author><name>KoRn</name><uri>http://www.blogger.com/profile/16787861479125804194</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3618806622772815864.post-7322749549729035096</id><published>2009-12-29T16:25:00.001-08:00</published><updated>2009-12-29T16:25:40.594-08:00</updated><title type='text'>Foods reduces appetite.</title><content type='html'>If you feel that self-control not to pick up chocolate or cookies, then eating is difficult. And also excluding those symptoms like eating here. (The only other high calories) ... incessant eating to recommend this Ragtgag or between meals can help more.           A peanut called pine nuts are research shows that help stop hormone called appetite. cholecystokinin (CKK), it is therefore recommended that for this type of wax bean salad, pasta or Paul V. You go eat food. If not for this type of bean. Almond is available. Plus, almonds seeds to react to prevent fat absorption in the body. Help with weight reduction.         For example, any hot food and tea soup with higher temperatures cause the stomach. Our lower. Therefore, weight should be eating soup before meals or sip tea. Just make sure soup is not a thick cream. Tea and sugar cubes are not syrup, etc. can sip green tea even if told that the process will help stimulate metabolism better with.         Apple to Apple customers are a fiber than orange, peach and grapes lose again. The fiber helps us feel full. Protection beyond just eating more. Therefore, there is advice to eat apple before dinner. This dinner will help you not be afraid too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3618806622772815864-7322749549729035096?l=99iz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://99iz.blogspot.com/feeds/7322749549729035096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://99iz.blogspot.com/2009/12/foods-reduces-appetite.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/7322749549729035096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/7322749549729035096'/><link rel='alternate' type='text/html' href='http://99iz.blogspot.com/2009/12/foods-reduces-appetite.html' title='Foods reduces appetite.'/><author><name>KoRn</name><uri>http://www.blogger.com/profile/16787861479125804194</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3618806622772815864.post-1531783576429975771</id><published>2009-12-29T16:23:00.001-08:00</published><updated>2009-12-29T16:23:32.616-08:00</updated><title type='text'>Mate eye habits.</title><content type='html'>Try observing eyes of each Look. Then he or she will know what is customary. Long and lustrous eyes sparkle as textbooks that will be a fortune. More fearful that a black woman than black coward. Usually a man of fierce temper players then. Any young fans need to be careful. Because she could cut you if you betray. Raven big eye and often outspoken views are not wobble. Light of these young people. Means to be prosperous husband. And myself are happy and old. Black and fearful spirits. Young people who are devout. One single-minded love. If marriage is to be faithful to the Pac good husband and death. Edge and a black bushy thick lash look charmingly sweet is always eager young high. Failed in the social framework. She often caprice. Custom shades and easy part. Eye small eye socket depth one-eyed people of this nature are often emotionally sensitive irascible hot-tempered, do not speak ผิดหู quite นะ. Men with small left eye left eye right eye smaller than typically are henpecked. If the eyes small and black melancholy. Hearts are often uncertain. With sparkling eyes, not hardened fear they allegedly are presuming. If people like the tail eyes squint at it. Mood are often brutally. If you prefer to squint with one eye plus tail often with a squint who covet every issue. The habits buck. Eyes pop and sparkle. Habits indicate that a spark, so if any young boy found this way. Must be careful dental disposable. But hidden eyes bulging take violent drug check. Indicate that the short-lived. If the big eye with a bright look. Have shown that a dignified grandeur worker.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3618806622772815864-1531783576429975771?l=99iz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://99iz.blogspot.com/feeds/1531783576429975771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://99iz.blogspot.com/2009/12/mate-eye-habits.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/1531783576429975771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/1531783576429975771'/><link rel='alternate' type='text/html' href='http://99iz.blogspot.com/2009/12/mate-eye-habits.html' title='Mate eye habits.'/><author><name>KoRn</name><uri>http://www.blogger.com/profile/16787861479125804194</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3618806622772815864.post-221887566835991782</id><published>2009-12-29T16:21:00.002-08:00</published><updated>2009-12-29T16:22:48.257-08:00</updated><title type='text'>How to reconcile lovers.</title><content type='html'>1. Show a sincere person. Do not lie cheat again. You must be honest to say why you made mistakes. And you learn what to do from what to do. Make her believe that. You can not address without her. 2. Purchase special gift items. Should select a gift that has special meaning. The only try for something to stimulate her thinking. Depth of your time with her share as if you understand that she is very like what it is a tribute to her. 3. Commendation she was dating noticed that yesterday also were some sweet? If several things begin to understand perfectly both psychological and more. Man should make her see it is. You are a romantic atmosphere created by any such call date as when she first love. And call it good to remember that last time, then what makes her see you in a better way. 4. Make good any delinquent or non-emission meat. Released as a divinity not find the longer met. By exercise. Dining useful. Dress to look good. This girl would want to see how to love you again. 5. Told to direct any that you have no love her. Women want to hear these three words always. Great to hear from people that she loved or been loved by then. Is or is not vulnerable. 6. Provoke her mind that. If not loving back. She may well beyond what has occurred. You may call the attention from her. The time makes her jealous. Allowance she will love you again. Or perhaps loathe and hate page. Find the buck to no time. If it is the way it should be careful with. 7. To an understanding. You adapt to new people. And want to reconcile. But not impatient. Because if the size would come to an understanding not to adjust the agitation. Is remarkable that the same will return to the fans together again some good. 8. Do not talk like doing. If he says that love is to heal and want to own but not try to improve the return. Should not risk him again. Therefore, as people do not speak a concern. The action is like no other. 9. Show that you change the fact. Speaking words "I am willing to change your hair to" there is a great word for lovers beg. But then it should follow the talks. 10. Promises to be a good lover. Still loving the new mistake would be repeated in vain, so should feel comfort with her contract. That is a good fan forever. (But must do) and if this is not good after the fact should have left permanently to all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3618806622772815864-221887566835991782?l=99iz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://99iz.blogspot.com/feeds/221887566835991782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://99iz.blogspot.com/2009/12/how-to-reconcile-lovers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/221887566835991782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/221887566835991782'/><link rel='alternate' type='text/html' href='http://99iz.blogspot.com/2009/12/how-to-reconcile-lovers.html' title='How to reconcile lovers.'/><author><name>KoRn</name><uri>http://www.blogger.com/profile/16787861479125804194</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3618806622772815864.post-2294841566251839545</id><published>2009-12-29T16:21:00.001-08:00</published><updated>2009-12-29T16:21:53.491-08:00</updated><title type='text'>10 gifts prohibited.</title><content type='html'>Fragrance. Do not believe humiliation. Because many people believe him. Tell that to keep him breathing. Do fans buy perfumes strictly prohibited. Because the love of you may be less important as the scent of perfume fade over time. Shoes. This very cool. It has been based on experience. The fans who have run out to read all. He said that if fans buy shoes that will give each other. Because it must be a pair shoes. People who are fans but not the same as a pair. Footwear is the mystery may be made out to each other. We say that this has occurred with many นะ. The fans to buy shoes when taken together 4 - 5 months, 2 weeks after the fans would have to quit all. Set black clothing. This is very frightening. They do not have to wear black as a set of gifts is strictly prohibited. Because he considered ancient. Whether it is a wrap skirt shirt pants adult will always taught that. If we set the black one. We will need to have the funeral of someone .. destiny .. Clock. This is the vertical hold ซะ more tips. Because many people believe that very much. If fans buy the clock. Will allow time off together. May be stopped when the clock stops, walking home. Whether due to Her Majesty .. whatever .. O Photos. One other thing that it is categorically forbidden to. Single photograph of themselves because it is like to see a memorial on different pages from the same time. Many people find this mystery already. If someone does not want history to repeat itself. Avoid indecision จึ๋ ย .. .. A Handkerchief. Meet the very meaning handkerchief most what they are used. People receive gifts will need to do that .. หละ that news came that the handkerchief to wipe tears most ซะ with .. so who do not want to Esiingmta. To avoid a napkin to write a gift .. Knife. This is still not quite belief. It is possible indeed right. But believe it is not used up in vain นะ of them armed with sharp swords, toys, models that do not bring a knife gift. It will harm the recipient has been unfortunate with disaster. Comb. Friends fans associate all this attention. Because if we deliver to fans comb. Or friend whom. Will make our relationship and they must separate comb-like teeth of their own. Brooch. Under outside may look. But also within the hidden meaning be painful. It believes that if the pin to anyone. Will ironically be. Create pain. Contrary to the recipient person. Cookware range. Because the belief that if the glassware is broken up. That would mean the relationship of two people united fracture. Disintegration of the certainly.         Please use discretion in the analysis. Just tell us what it is. If anyone would like to believe or not to visit and decorate the knowledge stored นะ. It is important actions of the body and mind in all our issues.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3618806622772815864-2294841566251839545?l=99iz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://99iz.blogspot.com/feeds/2294841566251839545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://99iz.blogspot.com/2009/12/10-gifts-prohibited.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/2294841566251839545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3618806622772815864/posts/default/2294841566251839545'/><link rel='alternate' type='text/html' href='http://99iz.blogspot.com/2009/12/10-gifts-prohibited.html' title='10 gifts prohibited.'/><author><name>KoRn</name><uri>http://www.blogger.com/profile/16787861479125804194</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
