<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sgt. Conker &#187; Naming Convention</title>
	<atom:link href="http://www.sgtconker.com/category/general/naming-convention/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sgtconker.com</link>
	<description>We are &#34;absolutely fine&#34;</description>
	<lastBuildDate>Wed, 06 Jul 2011 13:29:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CatalinZ.NamingConventions</title>
		<link>http://www.sgtconker.com/2009/10/catalinz-namingconventions/</link>
		<comments>http://www.sgtconker.com/2009/10/catalinz-namingconventions/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 06:44:44 +0000</pubDate>
		<dc:creator>Captain ZSquare</dc:creator>
				<category><![CDATA[Naming Convention]]></category>

		<guid isPermaLink="false">http://sgt.conkerjo.com/?p=294</guid>
		<description><![CDATA[
// Using statements are outside namespace declarations
using System;

namespace CatalinZ.NamingConventions
{
    // Enums are PascalCased and singular
    public enum Alignment
    {
        // Enum members are PascalCased
        Top,
        [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: csharp; title: ;">
// Using statements are outside namespace declarations
using System;

namespace CatalinZ.NamingConventions
{
    // Enums are PascalCased and singular
    public enum Alignment
    {
        // Enum members are PascalCased
        Top,
        TopRight,
        Right,
        BottomRight
        Bottom,
        BottomLeft,
        Left,
        TopLeft,
    }

    // Flag enums are PascalCased and plural
    [Flags]
    public enum Alignments
    {
        // Enum members are PascalCased
        None = 0x00,
        Top = 0x01,
        Right = 0x02,
        Bottom = 0x04,
        Left = 0x08,
    }

    // Class names are PascalCased
    public class ThisIsAClass
    {
        // Members are grouped by type:
        // * Types (nested classes, enums, structures)
        // * Fields
        // * Constructors
        // * Properties
        // * Methods
        //
        // Within these groups the elements are grouped by functionality,
        // and inside the functionality groups they are ordered by accessibility,
        // from public to private:
        // * public
        // * internal
        // * internal protected
        // * protected
        // * private
        // Nested classes are PascalCased
        class NestedClass : IDisposable
        {
            public void Dispose()
            {
            }
        }

        // Publc Fields and constants are PascalCased
        public const float ABitOfPi = 3.14f;

        // Fields are camelCased
        // NOTE: C# type aliases are used
        internal string internalField;

        // Fields are camelCased
        protected int protectedField;

        // Fields are camelCased
        // NOTE: C# type aliases are used
        private readonly object privateMember;

        // Properties are PascalCased
        // NOTE: Acronyms longer than 2 characters are PascalCased (e.g.
        // Html, Xml)
        public int HtmlLength { get; set; }

        // Properties are PascalCased
        // NOTE: Acronyms of 2 characters are UPPERCASED (e.g. UI, IO)
        public string UIElementName { get; }

        // Properties are PascalCased
        protected string ProtectedProperty { get; }

        // Private Properties are camelCased
        private string privateProperty { get; }

        // Methods are PascalCased
        public int Add(int oneValue, int anotherValue)
        {
            // local variables are camelCased
            double result = oneValue * anotherValue;
            return result;
        }

        // Methods are PascalCased
        // NOTE: Abbreviations are not treated as Acronyms (so
        // _Id_entification is Id, not ID).
        protected void AlignObjectById(string id, Alignment alignment)
        {
        }
    }
}
</pre>
<p>Idea by <a href="http://www.thejoyofcode.com/_NET_Naming_Conventions.aspx">the Joy of Code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sgtconker.com/2009/10/catalinz-namingconventions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conkerjo.NamingConventions</title>
		<link>http://www.sgtconker.com/2009/10/conkerjo-namingconventions/</link>
		<comments>http://www.sgtconker.com/2009/10/conkerjo-namingconventions/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 22:15:51 +0000</pubDate>
		<dc:creator>Sgt. Conker</dc:creator>
				<category><![CDATA[Naming Convention]]></category>

		<guid isPermaLink="false">http://sgt.conkerjo.com/?p=290</guid>
		<description><![CDATA[

// Using statements are outside namespace declarations
using System;
namespace Conkerjo.NamingConventions
{
    // Enums are PascalCased and singular
    public enum Alignment
    {
        // Enum members are PascalCased
        Top,
        [...]]]></description>
			<content:encoded><![CDATA[<pre>
<pre class="brush: csharp; title: ;">
// Using statements are outside namespace declarations
using System;
namespace Conkerjo.NamingConventions
{
    // Enums are PascalCased and singular
    public enum Alignment
    {
        // Enum members are PascalCased
        Top,
        TopRight,
        Right,
        BottomRight
        Bottom,
        BottomLeft,
        Left,
        TopLeft,
    }

    // Flag enums are PascalCased and plural
    [Flags]
    public enum Alignments
    {
        // Enum members are PascalCased
        None = 0x00,
        Top = 0x01,
        Right = 0x02,
        Bottom = 0x04,
        Left = 0x08,
    }

    // Class names are PascalCased
    public class ThisIsAClass
    {
        // Members are grouped by type:
        // * Types (nested classes, enums, structures)
        // * Fields
        // * Constructors
        // * Properties
        // * Methods
        //
        // Within these groups the elements are ordered by accessibility,
        // from public to private:
        // * public
        // * internal
        // * internal protected
        // * protected
        // * private
        // Nested classes are PascalCased
        class NestedClass : IDisposable
        {
            public void Dispose()
            {

            }
        }

        // Publc Fields and constants are PascalCased
        public const float ABitOfPi = 3.14f;

        // Fields are camelCased
        // NOTE: C# type aliases are used
        internal string internalField;

        // Fields are camelCased
        protected int protectedField;

        // Fields are camelCased
        // NOTE: C# type aliases are used
        private readonly object privateMember;

        // Properties are PascalCased
        // NOTE: Acronyms longer than 2 characters are PascalCased (e.g.
        // Html, Xml)
        public int HtmlLength { get; set; }

        // Properties are PascalCased
        // NOTE: Acronyms of 2 characters are UPPERCASED (e.g. UI, IO)
        internal string UIElementName { get; } 

        // Properties are PascalCased
        protected string ProtectedProperty { get; } 

        // Private Properties are camelCased
        private string privateProperty { get; } 

        // Methods are PascalCased
        public int Add(int oneValue, int anotherValue)
        {
            // local variables are camelCased
            double result = oneValue * anotherValue;
            return result;
        }

        // Methods are PascalCased
        // NOTE: Abbreviations are not treated as Acronyms (so
        // _Id_entification is Id, not ID).
        protected void AlignObjectById(string id, Alignment alignment)
        {
            throw new NotImplementedException();
        }
    }
}
</pre>
</pre>
<p>Idea by <a href="http://www.thejoyofcode.com/_NET_Naming_Conventions.aspx">the Joy of Code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sgtconker.com/2009/10/conkerjo-namingconventions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bnoerj.NamingConventions</title>
		<link>http://www.sgtconker.com/2009/09/bnoerj-namingconventions/</link>
		<comments>http://www.sgtconker.com/2009/09/bnoerj-namingconventions/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 01:42:00 +0000</pubDate>
		<dc:creator>Captain boki</dc:creator>
				<category><![CDATA[Naming Convention]]></category>

		<guid isPermaLink="false">http://sgt.conkerjo.com/2009/09/bnoerj-namingconventions/</guid>
		<description><![CDATA[The naming conventions used in the Bnoerj libraries, shown by example.]]></description>
			<content:encoded><![CDATA[<pre>
<pre class="brush: csharp; title: ;">// Namespaces are PascalCased
namespace Bnoerj.NamingConventions
{
    // Using statements are inside namespace declarations
    using System;

    // Enums are PascalCased and singular
    public enum Alignment
    {
        // Enum members are PascalCased
        Top,
        TopRight,
        Right,
        BottomRight
        Bottom,
        BottomLeft,
        Left,
        TopLeft,
    }

    // Flag enums are PascalCased and plural
    [Flags]
    public enum Alignments
    {
        // Enum members are PascalCased
        None = 0x00,
        Top = 0x01,
        Right = 0x02,
        Bottom = 0x04,
        Left = 0x08,
    }

    // Class names are PascalCased
    public class ThisIsAClass
    {
        // Members are grouped by type:
        // * Types (nested classes, enums, structures)
        // * Fields
        // * Constructors
        // * Properties
        // * Methods
        //
        // Within these groups the elements are ordered by accessibility,
        // from public to private:
        // * public
        // * internal
        // * internal protected
        // * protected
        // * private
        // Nested classes are PascalCased
        class NestedClass : IDisposable
        {
            public void Dispose()
            {
                throw new NotImplementedException();
            }
        }

        // Publc Fields and constants are PascalCased
        public const float ABitOfPi = 3.14f;

        // Fields are camelCased
        // NOTE: C# type aliases are used
        internal string internalField;

        // Fields are camelCased
        protected int protectedField;

        // Fields are camelCased
        // NOTE: private accessibility modifier is omitted
        // NOTE: C# type aliases are used
        readonly object privateMember;

        // Properties are PascalCased
        // NOTE: Acronyms longer than 2 characters are PascalCased (e.g.
        // Html, Xml)
        public int HtmlLength { get; set; }

        // Properties are PascalCased
        // NOTE: Acronyms of 2 characters are UPPERCASED (e.g. UI, IO)
        internal string UIElementName { get; } 

        // Properties are PascalCased
        protected string ProtectedProperty { get; } 

        // Properties are PascalCased
        // NOTE: private accessibility modifier is omitted
        string PrivateProperty { get; } 

        // Methods are PascalCased
        // NOTE: private accessibility modifier is omitted
        public int Add(int oneValue, int anotherValue)
        {
            // local variables are camelCased
            double result = oneValue * anotherValue;
            return result;
        }

        // Methods are PascalCased
        // NOTE: Abbreviations are not treated as Acronyms (so
        // _Id_entification is Id, not ID).
        protected void AlignObjectById(string id, Alignment alignment)
        {
            throw new NotImplementedException();
        }
    }
}
}</pre>
</pre>
<p>Idea by <a href="http://www.thejoyofcode.com/_NET_Naming_Conventions.aspx">the Joy of Code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sgtconker.com/2009/09/bnoerj-namingconventions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

