<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msdnbangladesh.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Microsoft Developer Network Bangladesh</title><link>http://msdnbangladesh.net/forums/</link><description>All Posts</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP1 (Debug Build: 31106.3070)</generator><item><title>how load an image from directory and Resize on fly and display it. </title><link>http://msdnbangladesh.net/forums/thread/156633.aspx</link><pubDate>Wed, 23 Jun 2010 11:55:05 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156633</guid><dc:creator>Sakib bin Sharif</dc:creator><slash:comments>2</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156633.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=9&amp;PostID=156633</wfw:commentRss><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;i am facing a prblem about image resizing.. i know it is a common problem but the scinario is little different here. &lt;/p&gt;
&lt;p&gt;i have some image in my server&amp;nbsp; image directory and also have their small 128 X 128 sized thumbnail..i show a page with those images like &amp;#39;facebook photo album&amp;#39; and also linked another page to display them..when a picture is clicked it refferd to that page and that page loads the full sized original image along with picture comments bla bla..., the page width is fixed to 1024px, and the div&amp;#39;s width is 800px max which contains the &amp;lt;asp:image..../&amp;gt;; that shows the full sized image.&lt;/p&gt;
&lt;p&gt;here the problem comes, when a original sized picture is greater that 800px then the remaining part of the picture is croped !! i know it will happen.. that is why i planned to show a thumbnail like pic which&amp;#39;s size will be 800px max and link the page with a pop up java script page which will contain the full sized picture only. .. &lt;/p&gt;
&lt;p&gt;the problem is i can&amp;#39;t resize the picture in a limit of 800px on fly. &lt;/p&gt;
&lt;p&gt;can anyone please help? :( i googled for 2days for resizing but all are those for thumbnail resizing which is saved to directory.. which couldn&amp;#39;t help me in this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Which path you have to use in your application?</title><link>http://msdnbangladesh.net/forums/thread/156594.aspx</link><pubDate>Mon, 07 Jun 2010 10:12:12 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156594</guid><dc:creator>Ahsan Murshed</dc:creator><slash:comments>1</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156594.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=9&amp;PostID=156594</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;What is Absolute path?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Absolute paths are called that because they refer to the very specific 
location, including the domain name. The absolute path to a Web element 
is also often referred to as the URL. For example, the absolute path to 
this Web page is: 
http://aspboss.blogspot.com/2010/04/how-to-get-client-ip-address-using.html&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is Relative path?&lt;/b&gt;&lt;br /&gt;
Relative paths change depending upon what page the links are located on.
 Another word,A relative path is a path relative to the working 
directory of the user or application, so the full absolute path may not 
need to be given. There are several rules to creating a link using the 
relative path:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; links in the same directory as the page have no path 
information listed&amp;nbsp;&amp;nbsp; filename&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sub-directories are listed without any preceding 
slashes weekly/file-name&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; links up one directory are listed as&amp;nbsp;&amp;nbsp; ../filename&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Linking to a resource from a reusable control in different levels 
in your web app folder tree can be a tedious and not so obvious task.&lt;br /&gt;
&lt;br /&gt;
Now have a look where to use absolute paths or relative paths&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&lt;b&gt;Absolute paths&lt;/b&gt; - http://www.yoururl.com/a/b/c/page.aspx - 
It is not acceptable for reusable components.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. &lt;b&gt;Relative paths&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o current level based - a/b/c/page.aspx - Doesn&amp;#39;t work for 
reusable components.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o root based - /a/b/c/page.aspx - That works good in some 
cases but not in every.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o app based - ~/a/b/c/page.aspx - Perfect when you can use it&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What&amp;#39;s wrong with root based paths?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
When you work on a project you often use built-in WebServer of the 
Visual Studio and your app runs on http://localhost:XXXX/. Everything 
seems to be working fine with the root based paths. Now it&amp;#39;s time to 
deploy your app on a test machine. You deploy it on 
http://test/myBestApp/. Now all your root based paths are pointing to 
http://test/Page.aspx instead of http://test/myBestApp/Page.aspx. That&amp;#39;s
 a good reason not to use root based paths.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Is ~ (tilde) can solve it?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
That&amp;#39;s a good solution that comes out of the box and takes care finding 
the root of your app. Ok, but what if need to build the URL on the fly 
like in this example:&lt;br /&gt;
&lt;br /&gt;
~/Item.aspx?id=&amp;lt;% Request.QueryString[ &amp;quot;id&amp;quot; ] %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This won&amp;#39;t work if you put it in a Hyperlink like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;asp:hyperlink id=&amp;quot;hlnkItemDetails&amp;quot; navigateurl=&amp;quot;~/Item.aspx?id=&amp;lt;%
 Request.QueryString[ &amp;quot;id&amp;quot; ] %&amp;gt;&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&amp;#39;t think about changing the quotation marks. It won&amp;#39;t work however 
you try.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The universal solution - Page.ResolveUrl&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now that&amp;#39;s what can help you in every situation (or at least all cases I
 can think of). &lt;br /&gt;
Think about this case: you have a custom control in 
~/items/controls/ItemViewControl.ascx. This control is used in 
~/Default.aspx and ~/items/Default.aspx. You need to link to 
~/items/Item.aspx?id=&amp;lt;query param=&amp;quot;&amp;quot; string=&amp;quot;&amp;quot;&amp;gt;from 
ItemViewControl.ascx. &lt;br /&gt;
&lt;br /&gt;
You can&amp;#39;t use ~ (tilde), root based, current folder relative or absolute
 path for some of the reasons written above. &lt;br /&gt;
&lt;br /&gt;
This is where &lt;b&gt;Page.ResoulveUrl&lt;/b&gt; comes into help. You can build 
your link in this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&amp;#39;&amp;lt;% String.Format( &amp;quot;{0}?id={1}&amp;quot;, Page.ResolveUrl( 
&amp;quot;~/items/Item.aspx&amp;quot; ), Request.QueryString[ &amp;quot;id&amp;quot; ] %&amp;gt;&amp;#39;&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Yes, it is a bit complicated, but at least you won&amp;#39;t be worried about 
broken links and they will work as expected wherever you put them.&lt;/p&gt;
&lt;p&gt;For more info please visits my blog: &lt;a href="http://aspboss.blogspot.com/"&gt;http://aspboss.blogspot.com/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>What is Object oriented Programming?</title><link>http://msdnbangladesh.net/forums/thread/156604.aspx</link><pubDate>Tue, 08 Jun 2010 07:05:44 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156604</guid><dc:creator>Ahsan Murshed</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156604.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=6&amp;PostID=156604</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;What is OOP?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Object-oriented software is all about &lt;strong&gt;objects&lt;/strong&gt;.
 An object is a &lt;strong&gt;&amp;quot;black box&amp;quot;&lt;/strong&gt; which receives and sends &lt;em&gt;messages&lt;/em&gt;.
 A black box actually contains &lt;em&gt;code&lt;/em&gt; (sequences of computer 
instructions) and &lt;em&gt;data&lt;/em&gt; (information which the instructions 
operates on).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;OOP &lt;/em&gt;is&amp;nbsp; stands for Object Oriented 
Programming. &lt;strong&gt;O&lt;/strong&gt;bject-&lt;strong&gt;O&lt;/strong&gt;riented &lt;strong&gt;P&lt;/strong&gt;rogramming
 (&lt;em&gt;OOP&lt;/em&gt;) uses a different set of programming languages(java,C++,c#..).&lt;/p&gt;
&lt;p&gt;In Object Oriented Programming techniques may include features such as &lt;b&gt;&lt;span class="mw-redirect"&gt;data abstraction&lt;/span&gt;&lt;/b&gt;, &lt;b&gt;encapsulation&lt;/b&gt;, &lt;b&gt;&lt;span class="mw-redirect"&gt;modularity&lt;/span&gt;&lt;/b&gt;, &lt;b&gt;polymorphism&lt;/b&gt;, 
and &lt;b&gt;&lt;span class="mw-redirect"&gt;inheritance&lt;/span&gt;&lt;/b&gt;.
 It was not commonly used in mainstream software application development
 until the early 1990s. Many 
modern programming languages now support OOP.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;What is Object?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;An object can be considered an &amp;quot;entity&amp;quot; that can perform a set of
 &lt;strong&gt;related &lt;/strong&gt;activities. The set of activities that the 
object performs defines the object&amp;#39;s behavior.&lt;/p&gt;
&lt;p&gt; In another word, an &lt;b&gt;object&lt;/b&gt; is any entity that can be manipulated by the commands 
of a programming language, such as a &lt;b&gt;value&lt;/b&gt;, &lt;b&gt;&lt;span class="mw-redirect"&gt;variable&lt;/span&gt;&lt;/b&gt;, &lt;b&gt;function&lt;/b&gt;,
 or &lt;b&gt;data structure&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;For more details:&lt;/p&gt;
&lt;p&gt;Please visits &lt;b&gt;&lt;a href="http://www.codeproject.com/KB/architecture/OOP_Concepts_and_manymore.aspx#OOP"&gt;here...&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>New Here, Looking for help</title><link>http://msdnbangladesh.net/forums/thread/156586.aspx</link><pubDate>Fri, 04 Jun 2010 05:02:45 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156586</guid><dc:creator>Abdullah Al Jahid</dc:creator><slash:comments>6</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156586.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=75&amp;PostID=156586</wfw:commentRss><description>&lt;p&gt;Hi everyone. I&amp;#39;m Abdullah Al Jahid professional PHP developer, working as a PHP developer for a Jordanian Company and also doing freelance work. I&amp;#39;m reading in class 10. more info - &lt;a target="_blank" title="Go to SHAKTI-world.com" href="http://shakti-world.com"&gt;shakti-world.com&lt;/a&gt;&lt;br /&gt;I&amp;#39;m very interested in Developing desktop based application and work with C++, C# and silverlight.&lt;/p&gt;
&lt;p&gt;But I&amp;#39;m kind a confuse where to start. I first tried with VB, but its easy to make its UI but can&amp;#39;t understand how to work with codes and DB. I prefer to use Code. So I want to learn coding.&lt;/p&gt;
&lt;p&gt;So please give me some resources where I can start learning C# , Silverlight from scratch to develop large application. I tried video section in this site, but its not working. I will prefer video tutorial.&lt;/p&gt;
&lt;p&gt;Waiting for your response.&lt;/p&gt;
&lt;p&gt;Thank you everyone.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Creating Object to a Class dynamically using Reflection</title><link>http://msdnbangladesh.net/forums/thread/156596.aspx</link><pubDate>Mon, 07 Jun 2010 10:29:19 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156596</guid><dc:creator>Ahsan Murshed</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156596.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=9&amp;PostID=156596</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;What is Reflection?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Reflection is the feature in .Net, which enables us to get some 
information about object in run time. That information contains data of 
the class. Also it can get the names of the methods that are inside the 
class and constructors of that object.&lt;br /&gt;
&lt;br /&gt;
To write a C# .Net program which uses reflection, the program should use
 the namespace &lt;b&gt;System.Reflection&lt;/b&gt;. To get type of the object, the &lt;b&gt;typeof
 &lt;/b&gt;operator can be used. There is one more method &lt;b&gt;GetType()&lt;/b&gt;. 
This also can be used for retrieving the type information of a class. 
The Operator typeof allow us to get class name of our object and &lt;b&gt;GetType()&lt;/b&gt;
 method uses to get data about object&amp;#39;s type.&lt;br /&gt;
&lt;br /&gt;
One can use the &lt;b&gt;Activator &lt;/b&gt;class for creating objects and then you
 can use &lt;b&gt;reflection &lt;/b&gt;to call &lt;b&gt;methods &lt;/b&gt;on the new instance, 
e.g.:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example-1: C#&lt;/b&gt;&lt;br /&gt;
In this example simply show that how to create instance of a object 
dynamically,&lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Runtime.Remoting;&lt;br /&gt;
using System.Reflection;&lt;br /&gt;
namespace ConsoleApplication3&lt;br /&gt;
{&lt;br /&gt;
    interface IBase&lt;br /&gt;
    {&lt;br /&gt;
        void fu();&lt;br /&gt;
    }&lt;br /&gt;
    class Emp: IBase&lt;br /&gt;
    {&lt;br /&gt;
        public void fu()&lt;br /&gt;
        {&lt;br /&gt;
            Console.Write(&amp;quot;Hello&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    class Class1&lt;br /&gt;
    {&lt;br /&gt;
        [STAThread]&lt;br /&gt;
        static void Main(string[] args)&lt;br /&gt;
        {&lt;br /&gt;
            Type type = Type.GetType(&amp;quot;ConsoleApplication3.Emp&amp;quot;);&lt;br /&gt;
            IBase obj = (IBase)Activator.CreateInstance(type);&lt;br /&gt;
            obj.fu();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;/p&gt;
&lt;p&gt;For more detail information please visits:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://aspboss.blogspot.com/2010/05/creating-object-to-class-dynamically.html"&gt;http://aspboss.blogspot.com/2010/05/creating-object-to-class-dynamically.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to get the MAC address of  system using C# </title><link>http://msdnbangladesh.net/forums/thread/156508.aspx</link><pubDate>Mon, 10 May 2010 06:05:53 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156508</guid><dc:creator>Ahsan Murshed</dc:creator><slash:comments>2</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156508.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=9&amp;PostID=156508</wfw:commentRss><description>&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;
Now I want to share with you some simple but important for our rapid 
development.&lt;br /&gt;
Here I want to discuss how to get system MAC address using c# , &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;First way:&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size:small;"&gt;You need to import the System.Net 
namespace for this to work.&lt;br /&gt;
This will support IPv4 and IPv6.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();&lt;br /&gt;
foreach (NetworkInterface adapter in nics)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IPInterfaceProperties properties = adapter.GetIPProperties();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; adapter.GetPhysicalAddress().ToString();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;/p&gt;
&lt;div style="color:black;"&gt;&lt;b&gt;&lt;span id="ctl00_ContentPlaceHolder1_lblDescription"&gt;Second way:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;p&gt;&lt;span id="ctl00_ContentPlaceHolder1_lblDescription" style="color:darkblue;"&gt;&lt;span style="color:black;"&gt;public string GetMACAddress()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; ManagementClass mc = new 
ManagementClass(&amp;quot;Win32_NetworkAdapterConfiguration&amp;quot;);&lt;br /&gt;
&amp;nbsp; ManagementObjectCollection moc = mc.GetInstances();&lt;br /&gt;
&amp;nbsp; string MACAddress = String.Empty;&lt;br /&gt;
&amp;nbsp;foreach (ManagementObject mo in moc)&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (MACAddress == String.Empty) // only return MAC Address from 
first card&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((bool)mo[&amp;quot;IPEnabled&amp;quot;] == true) MACAddress = 
mo[&amp;quot;MacAddress&amp;quot;].ToString();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mo.Dispose();&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; MACAddress = MACAddress.Replace(&amp;quot;:&amp;quot;, &amp;quot;&amp;quot;);&lt;br /&gt;
&amp;nbsp;return MACAddress;&lt;br /&gt;
}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
You might want to also add&amp;nbsp; &amp;quot;&lt;b&gt;&lt;span id="ctl00_ContentPlaceHolder1_lblDescription" style="color:darkblue;"&gt;&lt;span style="color:black;"&gt;mo&lt;/span&gt;&lt;/span&gt;[&amp;quot;Caption&amp;quot;].ToString()&lt;/b&gt;&amp;quot;  to 
test before the mac address so that you know which devices you  are 
looking at. &lt;br /&gt;
Also, don&amp;#39;t forget to use try/catch blocks on these as a &lt;b&gt; 
NullPointerReference &lt;/b&gt;will kill the app.&lt;/p&gt;
&lt;p&gt;For more info: Pls visits:&lt;/p&gt;
&lt;p&gt; &lt;a target="_blank" href="http://aspboss.blogspot.com/2010/04/how-to-get-mac-address-using-c.html"&gt;http://aspboss.blogspot.com/2010/04/how-to-get-mac-address-using-c.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.c-sharpcorner.com/UploadFile/ahsanm.m/1084/?ArticleID=aeb8667f-2edd-4da9-8fcf-8c7ceef4d43f"&gt;http://www.c-sharpcorner.com/UploadFile/ahsanm.m/1084/?ArticleID=aeb8667f-2edd-4da9-8fcf-8c7ceef4d43f&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Use of TempDB system database to fater your application</title><link>http://msdnbangladesh.net/forums/thread/156577.aspx</link><pubDate>Fri, 28 May 2010 18:23:25 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156577</guid><dc:creator>Altaf</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156577.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=17&amp;PostID=156577</wfw:commentRss><description>&lt;p&gt;In many cases we often need to store data in some temporary table. One of this case often used within Stored Procedures, when it is not necessarily need to persist the data beyond the scope of the store procedure.&lt;/p&gt;
&lt;p&gt;If in cases we need to store data in a table structure we can use temporary tables and for that SQL server provides two types of temporary table. These tables are stored in the &amp;lsquo;tempdb&amp;rsquo; system database and their persistence availability and accessibility depend on the type of temporary table. These types are:&lt;/p&gt;
&lt;p&gt;1. Local Temporary table (#table: Single # table)&lt;/p&gt;
&lt;p&gt;2. Global temporary table (##table: Double # table)&lt;/p&gt;
&lt;p&gt;There is another type of temporary table called &amp;lsquo;@table variable&amp;rsquo; which is stored in memory not in &amp;lsquo;tempdb&amp;rsquo;. So this is out of scope of the context.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;Local temporary table- Characteristics and when should be used:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;middot; The table local temp table and data stored in it only accessible from the current scope/operation i.e. usually the store procedure using it or nested store procedure.&lt;/p&gt;
&lt;p&gt;&amp;middot; These tables get cleared automatically when the current procedure goes out of scope. So, this is better on resources as it release resources early.&lt;/p&gt;
&lt;p&gt;&amp;middot; Created with the given name with a session-specific identifier so that it could be distinguishable from similar named local temp table.&lt;/p&gt;
&lt;p&gt;&amp;middot; Most common use of this type of table is examining data coming from another stored procedure.&lt;/p&gt;
&lt;p&gt;&amp;middot; It reduces the amount of locking required opposed to the permanent table as only the current user accessing the table.&lt;/p&gt;
&lt;p&gt;&amp;middot; Also performance can be gained by placing tempdb on a separate disk.&lt;/p&gt;
&lt;p&gt;To create local temp table: &lt;br /&gt;CREATE TABLE #tempTable&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;Id INT,&lt;/p&gt;
&lt;p&gt;Name Varchar(32)&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;Global temporary table- Characteristics and when should be used:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;middot; The Global temporary table is accessible throughout the session and visible by all other user session when a session is referencing to it.&lt;/p&gt;
&lt;p&gt;&amp;middot; Global temporary table remains in the database permanently, but rows exist only within a given session. As the session ended the data in the table cleared but the table structure remains.&lt;/p&gt;
&lt;p&gt;To create Global temp table: &lt;br /&gt;CREATE TABLE ##globalTable&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;Id INT,&lt;/p&gt;
&lt;p&gt;Name Varchar(32)&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Prevent Duplicate record insertion on page refresh in asp.net</title><link>http://msdnbangladesh.net/forums/thread/156448.aspx</link><pubDate>Sun, 25 Apr 2010 10:23:50 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156448</guid><dc:creator>Ahsan Murshed</dc:creator><slash:comments>2</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156448.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=9&amp;PostID=156448</wfw:commentRss><description>&lt;div class="post-header"&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;
Today I have faced a new problem(new for me), when I press save button 
it works fine and then refresh(F5 or Refresh button on browser) the page
 but this time it is execute the button click event again. For this 
duplicate data posting on the server.&lt;br /&gt;
&lt;br /&gt;
I try to find out the problem, nothing wrong in my code. Now turn to 
google and figure out the problem with solution. I have got several 
solutions. Now I would like to share this solution which solved my 
problem ......&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Assume that in &lt;b&gt;Test.aspx page&lt;/b&gt; you have a button and a TextBox:&lt;/p&gt;
&lt;blockquote&gt;&amp;lt;asp:Button ID=&amp;quot;btnSubmit&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Submit&amp;quot; 
Width=&amp;quot;110px&amp;quot;  OnClick=&amp;quot;btnSubmit_Click&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;asp:TextBox ID=&amp;quot;TxtName&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;br /&gt;
&lt;b&gt;In Test.aspx.cs..:&lt;/b&gt;&lt;/p&gt;
&lt;blockquote&gt;public partial class Test : System.Web.UI.Page&lt;br /&gt;
{&lt;br /&gt;
&lt;b&gt;protected override void OnInit(EventArgs e)&lt;/b&gt;&lt;br /&gt;
{&lt;br /&gt;
btnSubmit.Click += new EventHandler(btnSubmit_Click);base.OnInit(e);&lt;br /&gt;
}&lt;br /&gt;
&lt;b&gt;protected void Page_Load(object sender, EventArgs e)&lt;/b&gt;&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;b&gt;private void Save_Click(object sender, EventArgs e)&lt;/b&gt;&lt;br /&gt;
{&lt;br /&gt;
if (CheckIfDuplicateRequest())&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
return;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
//Your code to insert the value of the SomeText textbox into the 
database.&lt;br /&gt;
//Set the value of one of the key fields in your web form in session&lt;br /&gt;
Session[&amp;quot;Refresh&amp;quot;] = TxtName.Text;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;private Boolean CheckIfDuplicateRequest()&lt;/b&gt;&lt;br /&gt;
{&lt;br /&gt;
if (Session[&amp;quot;Refresh&amp;quot;] == null)&lt;br /&gt;
{&lt;br /&gt;
//Probably submitting the page for the first time&lt;br /&gt;
return false;&lt;br /&gt;
}&lt;br /&gt;
String previousValue = Session[&amp;quot;Refresh&amp;quot;].ToString();&lt;br /&gt;
if (previousValue != TxtName.Text)&lt;br /&gt;
{&lt;br /&gt;
//Submitting the page with a different set of values&lt;br /&gt;
return false;&lt;br /&gt;
}&lt;br /&gt;
//Duplicate request.&lt;br /&gt;
return true;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;br /&gt;
you can get more help from these post:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.net.bd/forums/AddPost.aspx/aspboss.blogspot.com"&gt;http://aspboss.blogspot.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://aspalliance.com/687"&gt;http://aspalliance.com/687&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://forums.asp.net/p/1296011/3702515.aspx"&gt;http://forums.asp.net/p/1296011/3702515.aspx&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://forums.asp.net/p/1190997/2045619.aspx"&gt;http://forums.asp.net/p/1190997/2045619.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Understanding Static Methods and Data</title><link>http://msdnbangladesh.net/forums/thread/156563.aspx</link><pubDate>Sun, 23 May 2010 04:43:38 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156563</guid><dc:creator>kaktarua</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156563.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=5&amp;PostID=156563</wfw:commentRss><description>&lt;p&gt;








 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4
  
   
   
   
   
   
   
   
   
   
   
   
  

 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 





&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size:12pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#e36c0a;"&gt;Understanding Static Methods and Data&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Static&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;
keyword is widely used to &lt;b&gt;&lt;i&gt;share the same field or method&lt;/i&gt;&lt;/b&gt; among
all the objects of the class. The actual goal of the static keyword is to share
a single data over all the objects.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;There are three types of sharing using the &lt;b&gt;static&lt;/b&gt; keyword. They are &amp;ndash;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;text-indent:-0.25in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:Wingdings;"&gt;&lt;span&gt;&amp;Oslash;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Static
Method&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;text-indent:-0.25in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:Wingdings;"&gt;&lt;span&gt;&amp;Oslash;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Static
Field&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;text-indent:-0.25in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:Wingdings;"&gt;&lt;span&gt;&amp;Oslash;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Static
Class&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Now I am going to give a short brief on these three
types-&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#31849b;"&gt;Static Method&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;A &lt;b&gt;Static Method&lt;/b&gt;
can be accessed from outside the class without creating any object of this
class. This &lt;b&gt;Static Method&lt;/b&gt; can be
accessed by directly by the name of the static method followed by the . (dot
operator) and the class name.&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#31849b;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;For example, we can consider the &lt;b&gt;Sqrt &lt;/b&gt;method of the &lt;b&gt;Math&lt;/b&gt;
class.&lt;span&gt;&amp;nbsp; &lt;/span&gt;This is how the &lt;b&gt;Sqrt &lt;/b&gt;method of the real &lt;b&gt;Math&lt;/b&gt; class is defined :&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;class Math&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;hellip;&amp;hellip;&amp;hellip;.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;public static double Sqrt
(double d)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:1in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:1.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;hellip;&amp;hellip;&amp;hellip;&amp;hellip;&amp;hellip;&amp;hellip;&amp;hellip;&amp;hellip;&amp;hellip;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:1in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;} &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;From the previous example you can notify that the &lt;b&gt;Sqrt&lt;/b&gt; method is declared as static so
that it can be accessed by using the class name directly,no object of the Math
class is required to access the static method.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;So, here I will like to some general properties of a &lt;b&gt;Static Method&lt;/b&gt; :&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;text-indent:-0.25in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:Wingdings;"&gt;&lt;span&gt;&amp;uuml;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;It
can access only the static fields of the class.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;text-indent:-0.25in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:Wingdings;"&gt;&lt;span&gt;&amp;uuml;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;It
can directly invoke the methods that are defined as static. &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#31849b;"&gt;Static Fields&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;A static field is shared among all the objects of the
of the class. So if an object change this the value then all the object of this
class will get the changed value.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Look at the example below &amp;ndash; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;class&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; Point()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.x = -1;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.y = -1;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;Deafult
Constructor Called&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;objectCount++;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; Point(&lt;span style="color:blue;"&gt;int&lt;/span&gt; x, &lt;span style="color:blue;"&gt;int&lt;/span&gt; y)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.x = x;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.y = y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;x
= {0} , y = {1}&amp;quot;&lt;/span&gt;, x, y);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;objectCount++;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;text-indent:0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;private&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt; x, y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public static&lt;/span&gt;
&lt;span style="color:blue;"&gt;int&lt;/span&gt; objectCount = 0;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Now
if we create three objects for this class &amp;ndash; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;color:teal;"&gt;Point&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt; origin1 = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;();
&lt;span style="color:#76923c;"&gt;// objectCount = 1&lt;/span&gt;&lt;span style="color:#c2d69b;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;color:teal;"&gt;Point&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt; origin2 = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;();
&lt;span style="color:#76923c;"&gt;// objectCount = 2&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;color:teal;"&gt;Point&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt; origin3 = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;();
&lt;span style="color:#76923c;"&gt;// objectCount = 3&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Here
these three objects share the same field so evry time the &lt;b&gt;static&lt;/b&gt; field &lt;/span&gt;&lt;b&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt;objectCount &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;is incremented.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#31849b;"&gt;Static Class&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;A static class is used to hold all the utility methods and
fields. A static Class has some properties &amp;ndash;&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:Wingdings;color:black;"&gt;&lt;span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;All the
methods and fields inside the class must be declared as static.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:Wingdings;color:black;"&gt;&lt;span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;A static class
cannot contain any instance method or data.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:Wingdings;color:black;"&gt;&lt;span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;No object can
be created (even using the &amp;ldquo;new&amp;rdquo; keyword) of this class.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:Wingdings;color:black;"&gt;&lt;span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;It can has a
default constructor and it is also static.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#5f497a;"&gt;Example&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Let us consider an example &amp;ndash; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Point.cs&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; System;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
System.Collections.Generic;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
System.Text;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;namespace&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
ConAppCH7CCons&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt;
Point()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.x
= -1;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.y
= -1;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;Deafult Constructor Called&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objectCount++;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt;
Point(&lt;span style="color:blue;"&gt;int&lt;/span&gt; x, &lt;span style="color:blue;"&gt;int&lt;/span&gt;
y)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.x
= x;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.y
= y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;x = {0} , y = {1}&amp;quot;&lt;/span&gt;, x, y);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;objectCount++;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;double&lt;/span&gt; DistanceTo(&lt;span style="color:teal;"&gt;Point&lt;/span&gt;
other)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;int&lt;/span&gt;
xDiff = &lt;span style="color:blue;"&gt;this&lt;/span&gt;.x - other.x;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;int&lt;/span&gt;
yDiff = &lt;span style="color:blue;"&gt;this&lt;/span&gt;.y - other.y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt;
&lt;span style="color:teal;"&gt;Math&lt;/span&gt;.Sqrt((xDiff * xDiff) + (yDiff * yDiff));&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt;
FnObjectCount()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt;
objectCount;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;private&lt;/span&gt;
&lt;span style="color:blue;"&gt;int&lt;/span&gt; x, y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;private&lt;/span&gt;
&lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt;
objectCount = 0;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;ConstructorExample.cs&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; System;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
System.Collections.Generic;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; System.Text;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;namespace&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
ConAppCH7CCons&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:teal;"&gt;ConstructorExample&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; Main(&lt;span style="color:blue;"&gt;string&lt;/span&gt;[]
args)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Point&lt;/span&gt;
origin = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Point&lt;/span&gt;
bottomRight = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;(1024,
1280);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;double&lt;/span&gt;
distance = origin.DistanceTo(bottomRight);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;distance = {0}&amp;quot;&lt;/span&gt;,distance);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;No of Objects {0}&amp;quot;&lt;/span&gt;, &lt;span style="color:teal;"&gt;Point&lt;/span&gt;.FnObjectCount());&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.ReadLine();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;In
this example the &lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt;FnObjectCount()&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;method is called directly
with the class name, no object is reqired here.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;If
you want to access the static method with an object like &amp;ndash; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-indent:0.5in;"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt;bottomRight.FnObjectCount()//
do not write this&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;then the compiler will report an error.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Now, give a deeper look into the &lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;"&gt;FnObjectCount() &lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;static mehod &amp;ndash; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt;
FnObjectCount()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt;
objectCount;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;As
it is a static method, so it can hold only static field or ststic mehod.&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Constructor in C# (For the Beginners)</title><link>http://msdnbangladesh.net/forums/thread/156556.aspx</link><pubDate>Thu, 20 May 2010 04:56:17 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156556</guid><dc:creator>kaktarua</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156556.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=5&amp;PostID=156556</wfw:commentRss><description>&lt;p&gt;








 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4
  
   
   
   
   
   
   
   
   
   
   
   
  

 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 





&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;b&gt;&lt;span style="font-size:12pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Constructor&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Constructor is a simple method inside a class. Except it has
some exceptions:&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="margin-bottom:0.0001pt;text-indent:-0.25in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:Wingdings;"&gt;&lt;span&gt;&amp;Oslash;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Constructor has the same name as the class.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0.0001pt;text-indent:-0.25in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:Wingdings;"&gt;&lt;span&gt;&amp;Oslash;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Constructor does not return value even void.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0.0001pt;text-indent:-0.25in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:Wingdings;"&gt;&lt;span&gt;&amp;Oslash;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Constructor can be built with parameter or
without parameter.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0.0001pt;text-indent:-0.25in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:Wingdings;"&gt;&lt;span&gt;&amp;Oslash;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Every class has a default constructor Even if
did not create it. If the developer does not create a constructor then the .NET
compiler create a default constructor, this deafault constructor actually does
nothing. &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;You can easily create a
default constructor by creating a method like this :&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;class&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt;
Point()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="color:green;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.x
= -1;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.y
= -1;&lt;span style="color:green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:green;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:blue;"&gt;private&lt;/span&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt; x, y;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Have a look on the example,
there are two private variable x and y. So when an instance of the class point
will be created the constructor will be fired and the variable x and y will get
their value as -1 , -1 accordingly.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;b&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;[&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt; Here one thing is
noticable, why I have used &amp;ldquo;this&amp;rdquo; keyword? I have told earlier that a
constructor may be paremeterized or non-parameterized . if it is parameterized
and I write it as&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;class&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt;
Point(int x , int y)// do not write as this&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="color:green;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;x = x;//what is the
parameter and what is the feild&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;y = y;// what is the
parameter and what is the feild&lt;span style="color:green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:green;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:blue;"&gt;private&lt;/span&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt; x, y;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Though the program will
run but it is little ambiguous which one the parameter andwhich one is the
field. &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;The &amp;ldquo;this&amp;rdquo; keyword
indicates that &amp;ndash; &amp;ldquo;this is a field&amp;rdquo;&lt;b&gt;]&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Now you can initialize
your object by the constructor Point(). Like this way &amp;ndash; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;namespace&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
ConAppCH7CCons&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:teal;"&gt;ConstructorExample&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; Main(&lt;span style="color:blue;"&gt;string&lt;/span&gt;[]
args)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Point&lt;/span&gt;
origin = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.ReadLine();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;So, when the &amp;ldquo;origin&amp;rdquo;
object is created it it is initialized with the value &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#17365d;"&gt;x=-1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#17365d;"&gt;y=-1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Overriding a Constructor&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Overriding is a feture of
OOP and an example of Polymorphism. Constructor overloading is very simple as
method overloading. You can have different version of constructors and they can
vary by the number of parameter and type of parameter.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;From the preeciding
example , let uss, you do not want to initialize your x and y value with
different values and in the mean time you want to keep an option that the user
can run the program without any value. In this situation you can code like this
:&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;namespace&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
ConAppCH7CCons&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt;
Point()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.x
= -1;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.y
= -1;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;Deafult Constructor Called&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; Point(&lt;span style="color:blue;"&gt;int&lt;/span&gt; x, &lt;span style="color:blue;"&gt;int&lt;/span&gt; y)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.x
= x;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.y
= y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;x = {0} , y = {1}&amp;quot;&lt;/span&gt;, x, y);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;private&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; &lt;span style="color:blue;"&gt;int&lt;/span&gt; x, y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 0.0001pt 0.5in;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Now you have two different
versions of constructor. You can create objects like bellow :&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;namespace&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
ConAppCH7CCons&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:teal;"&gt;ConstructorExample&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; Main(&lt;span style="color:blue;"&gt;string&lt;/span&gt;[]
args)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Point&lt;/span&gt;
origin = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Point&lt;/span&gt;
bottomRight = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;(1024,
1280);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.ReadLine();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;So when when the object
&amp;ldquo;origin&amp;rdquo; is initiated then &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#17365d;"&gt;x=-1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#17365d;"&gt;y=-1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;and&lt;span&gt;&amp;nbsp; &lt;/span&gt;when the object &amp;ldquo;bottomRight&amp;rdquo; is initiated
then &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#17365d;"&gt;x=1024&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#17365d;"&gt;y=1280&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Example&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Here I will show an
example related on constructor. This example is for calculate the distance
between two given points-&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Point.cs&lt;span style="color:blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; System;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
System.Collections.Generic;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
System.Text;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;namespace&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
ConAppCH7CCons&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt;
Point()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.x
= -1;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.y
= -1;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;Deafult Constructor Called&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt;
Point(&lt;span style="color:blue;"&gt;int&lt;/span&gt; x, &lt;span style="color:blue;"&gt;int&lt;/span&gt;
y)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.x
= x;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;this&lt;/span&gt;.y
= y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;x = {0} , y = {1}&amp;quot;&lt;/span&gt;, x, y);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;double&lt;/span&gt; DistanceTo(&lt;span style="color:teal;"&gt;Point&lt;/span&gt;
other)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;int&lt;/span&gt;
xDiff = &lt;span style="color:blue;"&gt;this&lt;/span&gt;.x - other.x;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;int&lt;/span&gt;
yDiff = &lt;span style="color:blue;"&gt;this&lt;/span&gt;.y - other.y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt;
&lt;span style="color:teal;"&gt;Math&lt;/span&gt;.Sqrt((xDiff * xDiff) + (yDiff * yDiff));&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;private&lt;/span&gt;
&lt;span style="color:blue;"&gt;int&lt;/span&gt; x, y;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span style="text-decoration:none;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span style="text-decoration:none;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;ConstructorExample.cs&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; System;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt; System.Collections.Generic;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;using&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
System.Text;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;color:blue;"&gt;namespace&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;
ConAppCH7CCons&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;class&lt;/span&gt; &lt;span style="color:teal;"&gt;ConstructorExample&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; Main(&lt;span style="color:blue;"&gt;string&lt;/span&gt;[]
args)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Point&lt;/span&gt;
origin = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Point&lt;/span&gt;
bottomRight = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;Point&lt;/span&gt;(1024,
1280);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color:blue;"&gt;double&lt;/span&gt;
distance = origin.DistanceTo(bottomRight);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:maroon;"&gt;&amp;quot;distance = {0}&amp;quot;&lt;/span&gt;,distance);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:teal;"&gt;Console&lt;/span&gt;.ReadLine();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:0in 0in 0.0001pt;line-height:normal;"&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Courier New&amp;#39;;"&gt;}&lt;/span&gt;&lt;span style="font-size:10pt;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Visual Studio 2010 Community Launch</title><link>http://msdnbangladesh.net/forums/thread/156477.aspx</link><pubDate>Mon, 03 May 2010 05:11:30 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156477</guid><dc:creator>Md Nazmul Ahsan</dc:creator><slash:comments>3</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156477.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=54&amp;PostID=156477</wfw:commentRss><description>&lt;h3&gt;Visual Studio 2010 Community Launch&lt;/h3&gt;
&lt;table id="Time and Place" class="profileTable info_table" cellpadding="0" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="label"&gt;Date:&lt;/td&gt;
&lt;td class="data"&gt;
&lt;div class="datawrap"&gt;Saturday, 08 May 2010&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="label"&gt;Time:&lt;/td&gt;
&lt;td class="data"&gt;
&lt;div class="datawrap"&gt;10:30 - 14:00&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="label"&gt;Location:&lt;/td&gt;
&lt;td class="data"&gt;
&lt;div class="datawrap"&gt;Auditorium, IDB Bhaban&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="label"&gt;Street:&lt;/td&gt;
&lt;td class="data"&gt;
&lt;div class="datawrap"&gt;Sher-E-Bangla Nagar&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="label"&gt;Town/City:&lt;/td&gt;
&lt;td class="data"&gt;
&lt;div class="datawrap"&gt;Dhaka, Bangladesh&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For more details : &lt;a target="_blank" href="http://www.facebook.com/event.php?eid=122898944394255"&gt;&lt;b&gt;http://www.facebook.com/event.php?eid=122898944394255&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Visual Studio 2010 Community Launch Successfully!!</title><link>http://msdnbangladesh.net/forums/thread/156507.aspx</link><pubDate>Mon, 10 May 2010 05:55:17 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156507</guid><dc:creator>Ahsan Murshed</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156507.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=54&amp;PostID=156507</wfw:commentRss><description>&lt;p&gt;Visual Studio 2010 community launch program successfully held at 8 May 2010. Really its a great events those who are attends at that program. Trust me, those who are failed to attend this ceremony they missed a great event.&amp;nbsp; C# 4.0 Demystified presented by Tanzim bhai and Silverlight for Windows Mobile 7 using VS 2010 presented&amp;nbsp; by&amp;nbsp; Asif bhai make this events more fruitful specially for developers. And Omi bhai organized the whole ceremony very nicely.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Request format is unrecognized for URL unexpectedly ending</title><link>http://msdnbangladesh.net/forums/thread/156456.aspx</link><pubDate>Tue, 27 Apr 2010 06:12:40 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156456</guid><dc:creator>Ahsan Murshed</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156456.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=9&amp;PostID=156456</wfw:commentRss><description>&lt;div class="post-header"&gt;
&lt;/div&gt;
&lt;p&gt;
Today I want to share with you a new problem which I had faced 
yesterday. &lt;br /&gt;
&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;
It was about web service related error. I have used Web Method() in my 
application to fill up a country dropdown. Everything was going well but
 when I had used this web method it showed me an error like this:&lt;br /&gt;
&lt;br /&gt;
System.InvalidOperationException: Request format is unrecognized for URL
 unexpectedly ending in &amp;#39;/GetCountyList&amp;#39;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Information:&lt;/b&gt;&lt;br /&gt;
After googling, I have found the solution.&lt;/p&gt;
&lt;blockquote&gt;This error was occured because GET and POST are disabled by 
default in ASP.NET 2.0 and greater.&lt;/blockquote&gt;
&lt;p&gt;Now I would like to 
share this with you. From msdn I have got some relative information 
which may help you to get understand clearly.&lt;br /&gt;
&lt;br /&gt;
The .NET-connected Web services support HTTP GET, HTTP POST and SOAP 
protocols. By default, in .NET Framework 1.0, all three protocols are 
enabled. By default, in .NET Framework 1.1 or greater, HTTP GET and HTTP
 POST are both disabled. This is for security reasons.&lt;br /&gt;
&lt;br /&gt;
Applications that use HTTP GET or HTTP POST to invoke a Web service fail
 when the Web service is upgraded to .NET Framework 1.1 or greater. 
These applications receive a exception: 
System.InvalidOperationException: Request format is unrecognized.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
HTTP GET and HTTP POST may be enabled by editing the Web.config file for
 the vroot where the Web service resides. The following configuration 
enables both HTTP GET and HTTP POST: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;configuration&amp;gt; &lt;br /&gt;
&amp;lt;system.web&amp;gt; &lt;br /&gt;
&amp;lt;webServices&amp;gt; &lt;br /&gt;
&amp;lt;protocols&amp;gt; &lt;br /&gt;
&amp;lt;add name=&amp;quot;HttpGet&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;add name=&amp;quot;HttpPost&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/protocols&amp;gt; &lt;br /&gt;
&amp;lt;/webServices&amp;gt; &lt;br /&gt;
&amp;lt;/system.web&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Single Sign on (SSO) Using Cookie in asp.net</title><link>http://msdnbangladesh.net/forums/thread/156447.aspx</link><pubDate>Sun, 25 Apr 2010 09:54:35 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156447</guid><dc:creator>Ahsan Murshed</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156447.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=9&amp;PostID=156447</wfw:commentRss><description>&lt;p&gt;There are various ways to use &lt;b&gt;Single Sign on(SSO)&lt;/b&gt; in asp.net web 
application. We can use cookies, session (state server), SAML and web 
services etc. Now we would like to give a brief overview of how to use 
cookie to implement Single Sign on(SSO) in asp.net web application.&lt;br /&gt;
&lt;br /&gt;
Assume that we have two web application hosted on different virtual 
directory but under same domain. As for example, our root domain is: &lt;b&gt;http://www.cookietest.com&lt;/b&gt;
 and&lt;br /&gt;
Other two virtual directory hosted under this domain are&lt;br /&gt;
&lt;b&gt;http://www.cookietest.com/cookiesite1/Login.aspx&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;http://www.cookietest.com/cookiesite2/Default.aspx&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
If we login successfully in cookiesite1 then it writes the login 
information in cookie and now opens another tab or a new window in same 
browser (IE, FF whatever you like). Place this address &lt;b&gt;http://www.cookietest.com/cookiesite2/Default.aspx&lt;/b&gt;
 in address bar logged in automatically in cookiesite2. When we try to 
access in cookiesite2 &amp;ndash;&amp;gt; Default.aspx it checks the login information
 from cookie. If desired value found in cookie then you logged in 
automatically. Remember you need to enable cookie in your browser for 
all of these activities. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Configuration:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;1.&lt;/b&gt; Web.Config&lt;br /&gt;
Before coding we need to some configure in our web.config file. Though 
cookiesite1 and cookiesite2 are in different virtual directory their 
web.config file must contains the same machine validationKey, 
decryptionKey and validation.&lt;br /&gt;
&lt;br /&gt;
Like this,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;machineKey 
validationKey=&amp;quot;282487E295028E59B8F411ACB689CCD6F39DDD21E6055A3EE480424315994760ADF21B580D8587DB675FA02F79167413044E25309CCCDB647174D5B3D0DD9141&amp;quot;&lt;br /&gt;
   decryptionKey=&amp;quot;8B6697227CBCA902B1A0925D40FAA00B353F2DF4359D2099&amp;quot;&lt;br /&gt;
   validation=&amp;quot;SHA1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2.&lt;/b&gt; IIS&lt;br /&gt;
In IIS-&amp;gt;Directory security tab add the &amp;quot;ASPNET Machine Account&amp;quot; user 
and set the full rights. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Coding:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;Write cookie after login complete:&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
Place this code in &lt;b&gt;cookiesite1-&amp;gt;Login.aspx.cs&lt;/b&gt;&lt;/p&gt;
&lt;blockquote&gt;If(login_Successful)&lt;br /&gt;
{&lt;br /&gt;
//Create a new cookie, passing the name into the constructor&lt;br /&gt;
HttpCookie cookie = new HttpCookie(&amp;ldquo;strCookieName&amp;rdquo;);&lt;br /&gt;
&lt;br /&gt;
//Set the cookies value&lt;br /&gt;
cookie.Value =&amp;rdquo;set_cookie_value&amp;rdquo;;&lt;br /&gt;
&lt;br /&gt;
//Set the cookie to expire in 5 minute&lt;br /&gt;
DateTime dtNow = DateTime.Now;&lt;br /&gt;
TimeSpan tsMinute = new TimeSpan(0, 0, 5, 0);&lt;br /&gt;
cookie.Expires = dtNow + tsMinute;&lt;br /&gt;
&lt;br /&gt;
//Add the cookie&lt;br /&gt;
Response.Cookies.Add(cookie);&lt;br /&gt;
&lt;br /&gt;
Response.Write(&amp;quot;Cookie written. &amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;b&gt;Check cookie is exist or not on page_load&lt;/b&gt;&lt;br /&gt;
Place this code in &lt;b&gt;cookiesite2-&amp;gt;Default.aspx.cs&lt;/b&gt;&lt;/p&gt;
&lt;blockquote&gt;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
//Grab the cookie&lt;br /&gt;
HttpCookie cookie = Request.Cookies[&amp;ldquo;strCookieName&amp;rdquo;];&lt;br /&gt;
&lt;br /&gt;
//Check to make sure the cookie exists&lt;br /&gt;
if (cookie != null)&lt;br /&gt;
{ &lt;br /&gt;
ReadCookie();&lt;br /&gt;
}&lt;br /&gt;
Else&lt;br /&gt;
{&lt;br /&gt;
lblCookie.Text = &amp;quot;Cookie not found. &amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;/blockquote&gt;
&lt;p&gt;&lt;br /&gt;
&lt;b&gt;Read  cookie when page load:&lt;/b&gt;&lt;br /&gt;
Add this method in &lt;b&gt;cookiesite2-&amp;gt;Default.aspx.cs&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;
&lt;blockquote&gt;protected void ReadCookie()&lt;br /&gt;
{ &lt;br /&gt;
//Get the cookie name the user entered&lt;br /&gt;
&lt;br /&gt;
//Grab the cookie&lt;br /&gt;
HttpCookie cookie = Request.Cookies[&amp;ldquo;strCookieName&amp;rdquo;];&lt;br /&gt;
&lt;br /&gt;
//Check to make sure the cookie exists&lt;br /&gt;
if (cookie == null)&lt;br /&gt;
{ &lt;br /&gt;
lblCookie.Text = &amp;quot;Cookie not found. &amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{ &lt;br /&gt;
//Write the cookie value&lt;br /&gt;
String strCookieValue = cookie.Value.ToString();&lt;br /&gt;
lblCookie.Text = &amp;quot;The  cookie contains: &lt;b&gt;&amp;quot; + strCookieValue + &amp;quot;&lt;/b&gt;&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/blockquote&gt;
&lt;p&gt;&lt;br /&gt;
Test the application in localhost.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And for more information:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://aspboss.blogspot.com/"&gt;http://aspboss.blogspot.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa289495%28VS.71%29.aspx#vbtchaspnetcookies101anchor10"&gt;http://msdn.microsoft.com/en-us/library/aa289495%28VS.71%29.aspx#vbtchaspnetcookies101anchor10&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.aspnettutorials.com/tutorials/network/cookies-csharp.aspx"&gt;http://www.aspnettutorials.com/tutorials/network/cookies-csharp.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.developer-corner.com/Resources/KnowledgeBase/tabid/118/articleType/ArticleView/articleId/23/PageID/10/Single-Sign-On-across-multiple-ASPNET-applications.aspx"&gt;http://www.developer-corner.com/Resources/KnowledgeBase/tabid/118/articleType/ArticleView/articleId/23/PageID/10/Single-Sign-On-across-multiple-ASPNET-applications.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Visual Studio 2010 now officially released</title><link>http://msdnbangladesh.net/forums/thread/156419.aspx</link><pubDate>Thu, 15 Apr 2010 09:55:53 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156419</guid><dc:creator>Md Nazmul Ahsan</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156419.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=75&amp;PostID=156419</wfw:commentRss><description>&lt;p&gt; Read the following blog for more information&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;a href="http://www.hanselman.com/blog/VisualStudio2010Released.aspx" target="_blank"&gt;Scott Hanselman - Visual Studio 2010 Released&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2010/04/12/visual-studio-2010-and-net-4-released.aspx" target="_blank"&gt;Visual Studio 2010 and .NET 4 Released - ScottGu&amp;#39;s Blog&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Enumerate through all the characters of a string using CharEnumerator</title><link>http://msdnbangladesh.net/forums/thread/156245.aspx</link><pubDate>Thu, 04 Mar 2010 06:20:30 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156245</guid><dc:creator>Md. Elias Hossain</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156245.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=9&amp;PostID=156245</wfw:commentRss><description>&lt;h3&gt;&lt;span style="text-decoration:underline;"&gt;&lt;b&gt;Enumerate through all the characters of a string using &lt;i&gt;CharEnumerator&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;CharEnumerator&lt;/b&gt; is an object in C# that can be used to enumerate through all the characters of a string. Below is the sample to do that&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
    &lt;span style="font-size:10.0pt;font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;
    &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    &lt;/span&gt;&lt;span style="color:blue;"&gt;string&lt;/span&gt; str = &lt;span style="color:#A31515;"&gt;
    &amp;quot;my name&amp;quot;&lt;/span&gt;;&lt;span style="mso-spacerun:yes;"&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
    &lt;span style="color:#2B91AF;"&gt;CharEnumerator&lt;/span&gt; chs = str.GetEnumerator();&lt;span style="mso-spacerun:yes;"&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
    &lt;span style="color:blue;"&gt;while&lt;/span&gt; (chs.MoveNext())&lt;span style="mso-spacerun:yes;"&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;span style="mso-spacerun:yes;"&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    &lt;/span&gt;&lt;span style="color:#2B91AF;"&gt;Console&lt;/span&gt;.WriteLine(chs.Current);&lt;/span&gt;&lt;span style="font-size:10.0pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Professional Developer (MCPD) Upgrades</title><link>http://msdnbangladesh.net/forums/thread/156218.aspx</link><pubDate>Thu, 25 Feb 2010 12:52:06 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156218</guid><dc:creator>Rashedul Islam Sumon</dc:creator><slash:comments>1</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156218.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=56&amp;PostID=156218</wfw:commentRss><description>&lt;p&gt;The upgrade paths for the Professional Developer series require that 
candidates have a minimum existing Microsoft
 Certified Application Developer certification, although since this 
is a prerequisite for the Microsoft
 Certified Solutions Developer series, this also qualifies. 
Generally candidates who specialised in Windows Forms development in the
 MCAD would upgrade to the MCPD: Windows Developer, Web developers would
 take the MCPD: Web Developer path, and MCSD holders would upgrade to 
the MCPD: Enterprise Applications Developer. However, there is no actual
 restriction enforced and a candidate holding any variant of the MCAD 
three MCAD to MCPD paths, and an MCSD can take any of the four MCSD to 
MCAD paths.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;MCAD/MCSD to MCPD: Web Developer&lt;/b&gt; This certification requires 
that one pass the following examination:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-551: UPGRADE: MCAD Skills to MCPD: Web Developer by Using 
the Microsoft .NET Framework&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;MCAD/MCSD to MCPD: Windows Developer&lt;/b&gt; This certification 
requires that one pass the following examination:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-552: UPGRADE: MCAD Skills to MCPD: Windows Developer by 
Using the Microsoft .NET Framework&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;MCAD to MCPD: Enterprise Applications Developer&lt;/b&gt; This 
certification requires that one pass the following examinations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-551: UPGRADE: MCAD Skills to MCPD: Web Developer by Using 
the Microsoft .NET Framework&lt;/li&gt;
&lt;li&gt;Exam 70-552: UPGRADE: MCAD Skills to MCPD: Windows Developer by 
Using the Microsoft .NET Framework&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;MCSD to MCPD: Enterprise Applications Developer&lt;/b&gt; This 
certification requires that one pass the following examinations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-553: UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise 
Application Developer by Using the Microsoft .NET Framework: Part 1&lt;/li&gt;
&lt;li&gt;Exam 70-554: UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise 
Application Developer by Using the Microsoft .NET Framework: Part 2&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;span class="editsection"&gt;&lt;/span&gt; &lt;span class="mw-headline" id="IT_Professional_.28MCITP.29_Upgrades"&gt;IT 
Professional (MCITP) Upgrades&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;MCDST to MCITP: Enterprise Support&lt;/b&gt; This certification requires
 that one pass the following examination:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-621: PRO: Upgrading Your MCDST Certification to MCITP 
Enterprise Support&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;MCDBA to MCITP: Database Administrator&lt;/b&gt; This certification 
requires that one pass the following examination:&lt;/p&gt;
&lt;p&gt;
Prerequisite: &lt;a href="http://en.wikipedia.org/wiki/Microsoft_Certified_Solution_Developer#Technology_Specialist:_Microsoft_SQL_Server_2005_-_Implementation_and_Maintenance"&gt;MCTS:
 Microsoft SQL Server 2005 - Implementation and Maintenance&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-417: UPGRADE: MCDBA Skills to MCITP Database Administrator 
by Using Microsoft SQL Server 2005&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;span class="editsection"&gt;&lt;/span&gt;&lt;span class="mw-headline" id="MCSA_and_MCSE_Transitions"&gt;MCSA and MCSE 
Transitions&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;
MCSA and MCSE certifications will not be retired. Microsoft has 
introduced a transition path to allow MCSA/MCSE holders to obtain MCITP 
certification. Both certifications require a transitional exam. To 
upgrade a MCSA, the 70-648 exam is required as well as one additional 
exam for MCITP: Server Administrator and three additional exams for the 
MCITP: Enterprise Administrator. To upgrade a MCSE the 70-649 is 
required as well as one additional exam for MCITP: Server Administrator 
and two additional exams for the MCITP: Enterprise Administrator&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Latest MCP Certifications</title><link>http://msdnbangladesh.net/forums/thread/156217.aspx</link><pubDate>Thu, 25 Feb 2010 12:48:06 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156217</guid><dc:creator>Rashedul Islam Sumon</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156217.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=56&amp;PostID=156217</wfw:commentRss><description>&lt;p&gt;Microsoft has released a new three-tiered certification hierarchy. It
 consists of three series and four credentials that introduce an 
entry-level &lt;b&gt;Technology Series&lt;/b&gt; composed of the &amp;quot;Technology 
Specialist&amp;quot; credential, a &lt;b&gt;Professional Series&lt;/b&gt; composed of the &amp;quot;IT
 Professional&amp;quot; and &amp;quot;Professional Developer&amp;quot; credentials, and the &lt;b&gt;Master
 Series&lt;/b&gt; composed of the &amp;quot;Master&amp;quot; credential. There also exists a new
 &lt;b&gt;Architect Series&lt;/b&gt; composed of the &amp;quot;Microsoft Certified Architect&amp;quot;
 program which consists of a Review Board interview.&lt;/p&gt;
&lt;h3&gt;&lt;span class="editsection"&gt;&lt;/span&gt; &lt;span class="mw-headline" id="Technology_Series_for_Exams_.28MCTS.29"&gt;Technology
 Series for Exams (MCTS)&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;The Technology Specialist certifications enable professionals to 
target specific technologies, and are generally the first step toward 
the Professional-level certifications. There are currently 20 MCTS 
certifications which can be roughly grouped into the following 
specializations, each requiring certain examinations to be passed:&lt;/p&gt;
&lt;h4&gt;&lt;span class="editsection"&gt;&lt;/span&gt; &lt;span class="mw-headline" id="Office_Specializations"&gt;Office Specializations&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;&lt;span class="external text"&gt;Managing Projects with Microsoft 
Office Project 2007&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-632: Microsoft Office Project 2007, Managing Projects&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Enterprise Project Management with 
Microsoft Office Project Server 2007&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-633: Microsoft Office Project Server 2007, Managing Projects&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Forefront Client and Server, Configuration&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-557: Microsoft Forefront Client and Server, Configuration&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Office SharePoint Server 2007, 
Configuration&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-630: Microsoft Office SharePoint Server 2007, Configuring&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Office SharePoint Server 2007, 
Application Development&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-542: Microsoft Office SharePoint Server 2007 - Application 
Development&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;span class="editsection"&gt;&lt;/span&gt; &lt;span class="mw-headline" id=".NET_Framework_Specializations"&gt;.NET Framework 
Specializations&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;&lt;span class="external text"&gt;.NET Framework 2.0 Web Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-528: .NET Framework 2.0 - Web-Based Client Development&lt;/li&gt;
&lt;li&gt;Exam 70-536: .NET Framework 2.0 - Application Development Foundation&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;.NET Framework 2.0 Windows 
Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-526: .NET Framework 2.0 - Windows-Based Client Development&lt;/li&gt;
&lt;li&gt;Exam 70-536: .NET Framework 2.0 - Application Development Foundation&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;.NET Framework 2.0 Distributed 
Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-529: .NET Framework 2.0 - Distributed Application 
Development&lt;/li&gt;
&lt;li&gt;Exam 70-536: .NET Framework 2.0 - Application Development Foundation&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;.NET Framework 3.5, ASP.NET 
Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-536: .NET Framework &amp;ndash; Application Development Foundation&lt;/li&gt;
&lt;li&gt;Exam 70-562: .NET Framework 3.5, ASP.NET Application Development&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;.NET Framework 3.5, Windows 
Presentation Foundation Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-536: TS: .NET Framework &amp;ndash; Application Development Foundation&lt;/li&gt;
&lt;li&gt;Exam 70-502: TS: .NET Framework 3.5, Windows Presentation Foundation
 Application Development&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;.NET Framework 3.5, Windows 
Communication Foundation Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-536: TS: .NET Framework &amp;ndash; Application Development Foundation&lt;/li&gt;
&lt;li&gt;Exam 70-503: TS: .NET Framework 3.5 &amp;ndash; Windows Communication 
Foundation Application Development&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;.NET Framework 3.5, Windows 
Workflow Foundation Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-536: TS: .NET Framework &amp;ndash; Application Development Foundation&lt;/li&gt;
&lt;li&gt;Exam 70-504: TS: .NET Framework 3.5 &amp;ndash; Windows Workflow Foundation 
Application Development&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;.NET Framework 3.5, Windows Forms 
Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-536: TS: .NET Framework &amp;ndash; Application Development Foundation&lt;/li&gt;
&lt;li&gt;Exam 70-505: TS: .NET Framework 3.5, Windows Forms Application 
Development&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;.NET Framework 3.5, ADO.NET 
Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-536: TS: .NET Framework &amp;ndash; Application Development Foundation&lt;/li&gt;
&lt;li&gt;Exam 70-561: TS: .NET Framework 3.5, ADO.NET Application Development&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;span class="editsection"&gt;&lt;/span&gt;&lt;span class="mw-headline" id="SQL_Server_Specializations"&gt;SQL Server 
Specializations&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;&lt;span class="external text"&gt;SQL Server 2005&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-431: Microsoft SQL Server 2005 - Implementation and 
Maintenance&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;SQL Server 2005 Business 
Intelligence&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-445: Microsoft SQL Server 2005 Business Intelligence - 
Implementation and Maintenance&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;span class="editsection"&gt;&lt;/span&gt;&lt;span class="mw-headline" id="Business_Intelligence_Specializations"&gt;Business
 Intelligence Specializations&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;&lt;span class="external text"&gt;BizTalk Server 2006&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-235: Developing Business Process and Integration Solutions 
Using Microsoft BizTalk Server&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Live Communications Server 2005&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-262: Office Live Communications Server 2005-Implementing, 
Managing, and Troubleshooting&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Microsoft Exchange Server 2007 
Configuration&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-236: Exchange Server 2007, Configuring&lt;span class="editsection"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="editsection"&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="mw-headline" id="Windows_Specializations"&gt;Windows Specializations&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Windows Mobile 5.0 Applications&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-540: Windows Mobile 5.0 - Application Development&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Windows Mobile 5.0, Implementing 
and Managing&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-500: Windows Mobile 5.0, Implementing and Managing&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Windows SharePoint Services 3.0, 
Application Development&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-541: Windows SharePoint Services 3.0 - Application 
Development&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Windows SharePoint Services 3.0, 
Configuration&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-631: Windows SharePoint Services 3.0, Configuring&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Windows Vista and 2007 Microsoft 
Office System Desktops, Deploying and Maintaining&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-624: Deploying and Maintaining Windows Vista Client and 2007
 Microsoft Office System Desktops&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Windows Vista Configuration&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-620: Windows Vista, Configuring&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Windows Server 2008 Active Directory Configuration&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="external text"&gt;Exam 70-640&lt;/span&gt;: Windows Server 
2008 Active Directory, Configuring&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Windows Server 2008 Network Infrastructure Configuration&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="external text"&gt;Exam 70-642&lt;/span&gt;: Windows Server 
2008 Network Infrastructure, Configuring&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Windows Server 2008 Applications Infrastructure Configuration&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="external text"&gt;Exam 70-643&lt;/span&gt;: Windows Server 
2008 Applications Infrastructure, Configuring&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Upgrading from Windows Server 2003 MCSA to Windows Server 2008, 
Technology Specializations&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="external text"&gt;Exam 70-648&lt;/span&gt;: Windows Server 
2008 Active Directory, Configuring &lt;b&gt;and&lt;/b&gt; Windows Server 2008 
Network Infrastructure, Configuring: &lt;i&gt;upgrade of Windows Server 2003 
to Server 2008 for the two above aforementioned MCTS credentials 
consisting parts of exams 70-640 and 70-642&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="external text"&gt;Windows 7 Configuration&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-680: Windows 7, Configuring&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Professional Series</title><link>http://msdnbangladesh.net/forums/thread/156216.aspx</link><pubDate>Thu, 25 Feb 2010 12:43:54 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156216</guid><dc:creator>Rashedul Islam Sumon</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156216.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=56&amp;PostID=156216</wfw:commentRss><description>&lt;h4&gt;&lt;span class="mw-headline" id="Microsoft_Certified_Professional_Developer_.28MCPD.29"&gt;Microsoft 
Certified Professional Developer (MCPD)&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;These certifications are designed for .NET software developers and 
are based around .NET 3.5, Visual Studio 2008 and SQL Server 2005/2008.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Windows Developer 3.5&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-536: .NET Framework &amp;ndash; Application Development Foundation&lt;/li&gt;
&lt;li&gt;Exam 70-505: .NET Framework 3.5, Windows Forms Application 
Development&lt;/li&gt;
&lt;li&gt;Exam 70-563 (PRO): Designing and Developing Windows Applications 
Using the .NET Framework 3.5&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;ASP .NET Developer 3.5&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-536: .NET Framework &amp;ndash; Application Development Foundation&lt;/li&gt;
&lt;li&gt;Exam 70-562: .NET Framework 3.5, ASP.NET Application Development&lt;/li&gt;
&lt;li&gt;Exam 70-564 (PRO): Designing and Developing ASP.NET Applications 
Using the .NET Framework 3.5&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Web Developer, Visual Studio 2005&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-528: .NET Framework 2.0 - Web-Based Client Development&lt;/li&gt;
&lt;li&gt;Exam 70-536: .NET Framework 2.0 - Application Development Foundation&lt;/li&gt;
&lt;li&gt;Exam 70-547 (PRO): Designing and Developing Web Applications by 
Using the .NET Framework&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Enterprise Applications Developer 3.5&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Exam 70-503: TS: .NET Framework 3.5, Windows Communication 
Foundation Application Development&lt;/li&gt;
&lt;li&gt;Exam 70-505: TS: .NET Framework 3.5, Windows Forms Application 
Development&lt;/li&gt;
&lt;li&gt;Exam 70-536: TS: .NET Framework - Application Development Foundation
 - applicable to both .NET 2.0 and .NET 3.5&lt;/li&gt;
&lt;li&gt;Exam 70-561: TS: .NET Framework 3.5, ADO.NET Application Development&lt;/li&gt;
&lt;li&gt;Exam 70-562: TS: .NET Framework 3.5, ASP.NET Application Development&lt;/li&gt;
&lt;li&gt;Exam 70-565 (PRO): Designing and Developing Enterprise Applications 
using .NET Framework 3.5 (available soon)&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;span class="editsection"&gt;&lt;/span&gt;&lt;span class="mw-headline" id="Microsoft_Certified_IT_Professional_.28MCITP.29"&gt;Microsoft Certified
 IT Professional (MCITP)&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;The Microsoft Certified IT Professional (MCITP) credential is the 
leading certification for Microsoft. It provides widely recognized, 
objective validation of your ability to perform critical, current IT job
 roles by using Microsoft technologies to their best advantage&lt;sup id="cite_ref-9" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Microsoft_Certified_Solution_Developer#cite_note-9"&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;These certifications are designed for IT professionals including 
administrators and support personnel in addition to database specialists
 (both administrators and developers).&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Business Intelligence Developer&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCTS: SQL Server 2005 Business Intelligence&lt;/li&gt;
&lt;li&gt;Exam 70-446 (PRO): Designing a Business Intelligence Infrastructure 
by Using Microsoft SQL Server 2005&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Consumer Support Technician&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCTS: Windows Vista Configuration&lt;/li&gt;
&lt;li&gt;Exam 70-623 (PRO): Supporting and Troubleshooting Applications on a 
Windows Vista Client for Consumer Support Technicians&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Database Developer&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCTS: SQL Server 2005&lt;/li&gt;
&lt;li&gt;Exam 70-441 (PRO): Designing Database Solutions by Using Microsoft 
SQL Server 2005&lt;/li&gt;
&lt;li&gt;Exam 70-442 (PRO): Designing and Optimizing Data Access by Using 
Microsoft SQL Server 2005&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Database Administrator&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCTS: SQL Server 2005&lt;/li&gt;
&lt;li&gt;Exam 70-443 (PRO): Designing a Database Server Infrastructure by 
Using Microsoft SQL Server 2005&lt;/li&gt;
&lt;li&gt;Exam 70-444 (PRO): Optimizing and Maintaining a Database 
Administration Solution by Using Microsoft SQL Server 2005&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Enterprise Messaging Administrator&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCTS: Exchange Server 2007 Configuration&lt;/li&gt;
&lt;li&gt;Exam 70-237 (PRO): Designing Messaging Solutions with Microsoft 
Exchange Server 2007&lt;/li&gt;
&lt;li&gt;Exam 70-238 (PRO): Deploying Messaging Solutions with Microsoft 
Exchange Server 2007&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Enterprise Project Management with Microsoft Office Project Server
 2007&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCTS: Managing Projects with Microsoft Office Project 2007&lt;/li&gt;
&lt;li&gt;MCTS: Enterprise Project Management with Microsoft Office Project 
Server 2007&lt;/li&gt;
&lt;li&gt;Exam 70-634 (PRO): Microsoft Office Project Server 2007, Managing 
Projects and Programs&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Enterprise Support Technician&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCTS: Windows Vista Configuration&lt;/li&gt;
&lt;li&gt;Exam 70-622 (PRO): Supporting and Troubleshooting Applications on a 
Windows Vista Client for Enterprise Support Technicians&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Server Administrator&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCTS: Windows Server 2008 Active Directory Configuration&lt;/li&gt;
&lt;li&gt;MCTS: Windows Server 2008 Network Infrastructure Configuration&lt;/li&gt;
&lt;li&gt;Exam 70-646 (PRO): Windows Server 2008, Server Administrator&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Enterprise Administrator&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCTS: Windows Server 2008 Active Directory Configuration&lt;/li&gt;
&lt;li&gt;MCTS: Windows Server 2008 Network Infrastructure Configuration&lt;/li&gt;
&lt;li&gt;MCTS: Windows Server 2008 Applications Infrastructure Configuration&lt;/li&gt;
&lt;li&gt;MCTS: Windows Vista Configuration &lt;i&gt;OR&lt;/i&gt; MCTS: Windows Vista and 
2007 Microsoft Office System Desktops, Deploying and Maintaining&lt;/li&gt;
&lt;li&gt;Exam 70-647 (PRO): Windows Server 2008, Enterprise Administrator&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;span class="editsection"&gt;&lt;/span&gt;&lt;span class="mw-headline" id="Master_Series"&gt;Master Series&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;The Master series certification enables senior-level IT professionals
 to demonstrate and validate their technical expertise on Microsoft 
server products and is a prerequisite for the Architect Series&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MCM: Microsoft Exchange Server 2007&lt;/li&gt;
&lt;li&gt;MCM: &lt;span class="mw-redirect"&gt;Microsoft SQL 
Server 2008&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;MCM: Windows Server 2008: Directory&lt;/li&gt;
&lt;li&gt;MCM: &lt;span class="mw-redirect"&gt;Microsoft
 Office SharePoint Server 2007&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;MCM: &lt;span class="mw-redirect"&gt;Microsoft
 Office Communications Server 2007&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Microsoft Certified Trainer (MCT)</title><link>http://msdnbangladesh.net/forums/thread/156215.aspx</link><pubDate>Thu, 25 Feb 2010 12:36:43 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156215</guid><dc:creator>Rashedul Islam Sumon</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156215.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=56&amp;PostID=156215</wfw:commentRss><description>&lt;p&gt;The Microsoft Certified Trainer (MCT) certification is for individuals 
who intend to train users wanting to obtain any of the other 
certifications. They must have some type of certification out of the 
Microsoft Course, they must also prove their instructional presentation 
skills, obtain a &amp;quot;Metrics that Matter&amp;quot; ID, and apply and pay to become a
 MCT. In Australia, many MCT&amp;#39;s have a diploma or degree in teaching 
either primary school or secondary education. It is also a requirement 
by many training companies, especially Microsoft Gold Partners to have 
MCT&amp;#39;s with a degree in teaching.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Microsoft Office Specialist (MOS)</title><link>http://msdnbangladesh.net/forums/thread/156214.aspx</link><pubDate>Thu, 25 Feb 2010 12:35:52 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156214</guid><dc:creator>Rashedul Islam Sumon</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156214.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=56&amp;PostID=156214</wfw:commentRss><description>&lt;p&gt;he Microsoft Office Specialist (MOS), previously named &lt;b&gt;Microsoft 
Office User Specialist&lt;/b&gt; (&lt;b&gt;MOUS&lt;/b&gt;) is a certification for using 
the Microsoft Office suite of business 
applications. While listed under the MCP Certification Programs, it is 
not officially an MCP Certification. The MOS exams are managed by a 
third party company, &lt;span class="external text"&gt;Certiport&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;It appears (January 2007) that a new set of qualifications will 
replace the MOS/MOUS certifications for Office 2007. The direct 
application specific skills are the &amp;ldquo;Microsoft Certified Application 
Specialist&amp;rdquo; (&amp;ldquo;MCAS&amp;rdquo;) for each Office 2007 Application. And, a new 
&amp;ldquo;Microsoft Certified Application Professional&amp;rdquo; (&amp;ldquo;MCAP&amp;rdquo;) based on how to 
complete more common business tasks. While these qualification exams 
will be managed by Certiport it appears other exam providers may also 
become involved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Microsoft Certified Desktop Support Technician (MCDST)</title><link>http://msdnbangladesh.net/forums/thread/156213.aspx</link><pubDate>Thu, 25 Feb 2010 12:33:55 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156213</guid><dc:creator>Rashedul Islam Sumon</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156213.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=56&amp;PostID=156213</wfw:commentRss><description>&lt;p&gt;The Microsoft Certified Desktop Support Technician (MCDST) demonstrates a
 technician can competently support end users and troubleshoot desktop 
environments running Microsoft Windows XP operating systems. MCDST 
candidates are required to pass exams 70-271 and 70-272.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Microsoft Certified Database Administrator (MCDBA)</title><link>http://msdnbangladesh.net/forums/thread/156212.aspx</link><pubDate>Thu, 25 Feb 2010 12:31:57 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156212</guid><dc:creator>Rashedul Islam Sumon</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156212.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=56&amp;PostID=156212</wfw:commentRss><description>&lt;p&gt;The Microsoft Certified Database Administrator (MCDBA) &lt;sup id="cite_ref-6" class="reference"&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/sup&gt;credential is for database administrators, who 
implement and administer Microsoft SQL Server databases. The 
certification is appropriate for individuals who derive physical 
database designs, develop logical data models, create physical 
databases, create data services by using Transact-SQL, manage and 
maintain databases, configure and manage security, monitor and optimize 
databases, and install and configure SQL Server. This certification 
requires passing three core exams, and one elective exam. According to 
Microsoft, people who operate SQL Server 2005 should apply for other 
certifications such as the MCITP (Microsoft Certified IT Professional) 
or MCTS (Microsoft Certified Technology Specialist), rather than the 
MCDBA. Complete course lasts 250 hours.&lt;/p&gt;
&lt;p&gt;Update: The SQL 2000 exams have now been retired and can no longer be
 taken. They have been replaced by the latest versions of SQL Server 
2005 &amp;amp; 2008. Please refer to MCTS for these exams.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Microsoft Certified Application Developer (MCAD)</title><link>http://msdnbangladesh.net/forums/thread/156211.aspx</link><pubDate>Thu, 25 Feb 2010 12:29:28 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156211</guid><dc:creator>Rashedul Islam Sumon</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156211.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=56&amp;PostID=156211</wfw:commentRss><description>&lt;p&gt;The Microsoft Certified Solution Developer (MCSD) &lt;sup id="cite_ref-5" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Microsoft_Certified_Solution_Developer#cite_note-5"&gt;&lt;span&gt;[&lt;/span&gt;6&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;
 certification is the highest level programming certification offered by
 Microsoft. To fulfill the requirements of the certification, a total of
 five exams (four core exams, one elective exam) must be passed. Some of
 the core exams are also requirements for the MCAD (Microsoft Certified 
Application Developer). Microsoft has declared that this certification 
will be focused towards the needs of developers using .NET Framework 1.0
 and 1.1 versions. Developers using .NET Framework 2.0 and Microsoft 
Visual Studio 2005 are expected to consider undergoing Microsoft 
Certified Technology Specialist (MCTS) and Microsoft Certified 
Professional Developer (MCPD) certification.&lt;/p&gt;
&lt;p&gt;This certification retired in 2009 and the replacement for this 
certification is MCTS/MCPD.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Microsoft Certified Systems Administrator (MCSA)</title><link>http://msdnbangladesh.net/forums/thread/156210.aspx</link><pubDate>Thu, 25 Feb 2010 12:27:40 GMT</pubDate><guid isPermaLink="false">019a604b-fb74-42d5-8a6d-7cedfb08f61c:156210</guid><dc:creator>Rashedul Islam Sumon</dc:creator><slash:comments>0</slash:comments><comments>http://msdnbangladesh.net/forums/thread/156210.aspx</comments><wfw:commentRss>http://msdnbangladesh.net/forums/commentrss.aspx?SectionID=56&amp;PostID=156210</wfw:commentRss><description>&lt;p&gt;he Microsoft Certified Systems Administrator (MCSA) &lt;sup id="cite_ref-3" class="reference"&gt;&lt;span&gt;[&lt;/span&gt;4&lt;span&gt;]&lt;/span&gt;&lt;/sup&gt;
 certification certifies a user&amp;#39;s knowledge in &lt;span class="mw-redirect"&gt;system administration&lt;/span&gt; of Microsoft Windows &lt;span class="mw-redirect"&gt;operating systems&lt;/span&gt; and is generally 
simpler than, but not a subset of, the MCSE. The Windows Server 2003 
MCSA is achieved upon passing 2 networking system exams, a client 
operating system exam, and an elective exam. The Windows Server 2000 
MCSA title is granted after taking 3 core exams and one elective. 
Meeting the current requirements for the MCSE designation will almost 
certainly meet the requirements for MCSA.&lt;/p&gt;
&lt;p&gt;Whereas the MCSE is supposed to certify a person&amp;#39;s ability to &amp;quot;plan, 
design, and implement Microsoft Windows server solutions and 
architectures in medium- to large-sized companies&amp;quot;, the MCSA certifies a
 holder&amp;#39;s ability to &amp;quot;implement, manage, and maintain the typically 
complex computing environment of medium- to large-sized companies&amp;quot;.&lt;/p&gt;
&lt;p&gt;Like the MCSE, the MCSA is available as &amp;quot;MCSA on Windows 2000&amp;quot; and 
&amp;quot;MCSA on Windows 2003&amp;quot; as of 2005. There exist two specializations for 
both tracks: Messaging and Security.&lt;/p&gt;
&lt;p&gt;As an alternative to the electives on the MCSA electives table, 
certifications or certification combination may substitute for an MCSA 
elective. For example, CompTIA &lt;span class="mw-redirect"&gt;A+&lt;/span&gt;
 and &lt;span class="mw-redirect"&gt;Network+&lt;/span&gt;
 together or CompTIA A+ and &lt;span class="mw-redirect"&gt;Server+&lt;/span&gt;
 together can be credited and substituted for an elective through a 
Microsoft and CompTIA partnership agreement. One may also substitute 
Security+ alone which counts for the elective and one of two exams for 
the &amp;quot;Security Specialization.&amp;quot; &lt;span class="mw-redirect"&gt;Security+&lt;/span&gt;
 counts for MCSA 2003 and MCSE 2003. This is just one cost effective way
 to earning an MCSA if candidates are already certified in other areas.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>