Naming Types and Members¶
Rule prefix: NAM · Baseline: C# 14 / .NET 10 · Levels: DO · DO NOT · CONSIDER · AVOID
Home · Rule index · Naming cheat sheet
This chapter sets the names of the types and members you declare: classes, records, structs, interfaces, type parameters, enums, delegates, attribute and exception classes, methods (including Async methods, local functions and extension members), properties, indexers and events. Type and member names use PascalCase. The receiver of an extension block is the one camelCase name in this chapter, and test method names are set by TEST-011.
Page 04 names fields, parameters and locals, and page 06 shows how to declare fields and properties (const versus static readonly, readonly, initialisation). Page 02 holds the general principles (words, acronyms, underscores) and the cheat sheet with one row per identifier kind.
The IDE1006 naming rule checks capitalisation, prefixes and suffixes through the dotnet_naming_* keys of the shipped .editorconfig. The CA rules in this chapter analyze only the public API by default, so their examples use public types. Rules marked Manual (word choice, tense, which method raises an event) are checked in review and listed in the "Manual review only" table on page 15.
Rule index¶
| ID | Level | Rule | Enforced |
|---|---|---|---|
| NAM-110 | DO | name a class, including a static class, with a PascalCase noun or noun phrase that names what it is (OrderService, InvoiceNumberGenerator), with no C or cls prefix. |
IDE1006, ReSharper: InconsistentNaming |
| NAM-111 | DO NOT | add a Base suffix to an abstract or base class; name it after the abstraction it represents (PaymentProvider, not PaymentProviderBase). |
Manual |
| NAM-112 | DO | name a record with a PascalCase noun or noun phrase, the same way as a class (OrderLine, OrderPlaced). |
IDE1006 |
| NAM-113 | DO | name a record struct with a PascalCase noun or noun phrase (Money, Quantity). |
IDE1006 |
| NAM-114 | DO | name a struct, including a readonly or ref struct, with a PascalCase noun or noun phrase (Quantity, LineSpan), with no S or Struct affix. |
IDE1006 |
| NAM-115 | DO | prefix an interface name with I followed by a PascalCase noun or adjective (IOrderRepository, IFormattable), and give its default implementation the same name without the I (NAM-024). |
IDE1006, CA1715 |
| NAM-116 | DO | name a generic type like a non-generic one, with a PascalCase noun and no arity, Of, Generic or T affix (Result<TValue>, IRepository<TEntity>). |
IDE1006 |
| NAM-117 | DO | name a single type parameter T and name every type parameter of a type or method with several of them T followed by a PascalCase description (TKey, TValue, TCommand). |
IDE1006, CA1715 |
| NAM-118 | DO | name a nested type with a PascalCase noun or noun phrase, the same way as a top-level type. | IDE1006 |
| NAM-119 | DO | name a file-local type with a PascalCase noun or noun phrase, the same way as a public type. |
IDE1006 |
| NAM-120 | DO | name an enum without [Flags] with a singular PascalCase noun and no Enum, Type or Kind suffix (OrderStatus, PaymentState). |
IDE1006, CA1711 |
| NAM-121 | DO | name a [Flags] enum with a plural PascalCase noun, give its members power-of-two values and name the zero value None. |
CA1008, CA2217, CA1027 |
| NAM-122 | DO | name enum members in PascalCase without repeating the enum name or a prefix (OrderStatus.Shipped, not OrderStatus.OrderStatusShipped). |
CA1712, ReSharper: InconsistentNaming |
| NAM-123 | DO | end the name of a delegate type with Callback and never with Delegate, and declare events with EventHandler<TEventArgs> instead of a delegate type of your own (TYPE-030). |
IDE1006, CA1711 |
| NAM-124 | DO | end the name of every class derived from EventArgs with EventArgs (OrderShippedEventArgs). |
CA1710 |
| NAM-125 | DO | end the name of every class derived from Attribute with Attribute and apply the attribute without the suffix ([Audited]). |
CA1710 |
| NAM-126 | DO | end the name of every class derived from Exception with Exception (OrderNotFoundException). |
CA1710 |
| NAM-127 | DO | put extension members in a static class named <ExtendedType>Extensions (OrderExtensions, StringExtensions), one class per extended type. |
Manual |
| NAM-128 | DO NOT | end a type name with Impl, Helper, Manager, Utils, Util, Utility, Utilities, Info, Data, Wrapper or Processor, or with Collection, Dictionary, Queue, Stack or Stream unless the type derives from or implements that abstraction. |
CA1711, CA1710 |
| NAM-129 | DO NOT | give a type the name of a BCL type or namespace segment that callers also use, such as Task, Action, Type, Stream, Tasks or Linq. |
CA1724 |
| NAM-130 | DO | name a method with a PascalCase verb or verb phrase that says what it does (PlaceOrderAsync, CalculateTotal, Ship). |
IDE1006, ReSharper: InconsistentNaming |
| NAM-131 | DO | end the name of every method that returns an awaitable type or IAsyncEnumerable<T> with Async, except test methods and async void event handlers. |
IDE1006 |
| NAM-132 | DO | start the name of a method that returns bool with Is, Has, Can or Try so that the call reads as a yes/no question (IsEligibleForDiscount, HasOpenOrders, CanShip); Task<bool> query methods named Exists…Async follow DATA-012. |
Manual |
| NAM-133 | DO | name a method that reports failure through its return value Try<Verb>, return bool, put the result in an out parameter declared last, and set that parameter to default when the method returns false. |
Manual |
| NAM-134 | DO | name a local function with a PascalCase verb or verb phrase, the same way as a method. | IDE1006 |
| NAM-135 | DO | keep the name and every parameter name of an interface or base member unchanged in its implementations and overrides, including explicit implementations (IFormattable.ToString(string? format, IFormatProvider? formatProvider)). |
CA1725 |
| NAM-136 | DO | give the defining and implementing parts of a partial member the same name and the same parameter names. | CS8826 |
| NAM-137 | DO | name the receiver of an extension block in camelCase after the extended type or its role (extension(Order order)), the same way as a parameter. |
IDE1006 |
| NAM-140 | DO | name a property with a PascalCase noun, noun phrase or adjective (Total, CreatedAt, Lines), and never give it the name of a Get method on the same type. |
IDE1006 |
| NAM-141 | DO | name a Boolean property as an affirmative statement that starts with Is, Has or Can (IsShipped, HasLines, CanBeCancelled), never as a negative (IsNotShipped). |
Manual |
| NAM-142 | DO | name a collection property with a plural noun (Lines, Tags, PendingOrders), not with a List, Array or Collection suffix, unless the type itself is a named collection. |
Manual |
| NAM-143 | DO | keep the default indexer name Item and rename it with [IndexerName] only when another .NET language or an interop contract needs a specific name. |
Manual |
| NAM-144 | DO | name an event with a PascalCase verb or verb phrase in the present progressive for before-the-fact events (Closing) and the past tense for after-the-fact events (Shipped), with no Before, After or On prefix. |
IDE1006, CA1713 |
| NAM-145 | DO | raise each event of an unsealed class from a protected virtual method named On<EventName> that takes the event data as one parameter named e. |
Manual |
| NAM-146 | DO | name an event handler method On<Source><Event> (OnOrderShipped, OnPaymentCaptured) and never <Source>_<Event>. |
Manual |
Types¶
One naming rule (nam_110_types) covers classes, structs, enums and delegates. Interfaces and type parameters add a prefix, so each has its own rule.
NAM-110¶
DO name a class, including a static class, with a PascalCase noun or noun phrase that names what it is (OrderService, InvoiceNumberGenerator), with no C or cls prefix.
✅ Correct
namespace Contoso.Orders;
public sealed class InvoiceNumberGenerator // PascalCase noun
{
private int _lastNumber;
public int Next() => Interlocked.Increment(ref _lastNumber);
}
public static class OrderFormats // Static classes follow the same rule
{
public static string NumberPrefix { get; } = "ORD-";
}
❌ Incorrect — the class name starts with a lower-case letter
namespace Contoso.Orders;
public sealed class invoiceNumberGenerator // Starts lower case
{
private int _lastNumber;
public int Next() => Interlocked.Increment(ref _lastNumber);
}
Why: A class name appears in every declaration that uses the class, so a noun that says what the class is reads without a comment. A C or cls prefix repeats what the class keyword already says; prefixes that encode a type are banned by NAM-205. IDE1006 checks the capitalisation only, so CInvoiceNumberGenerator passes the build and is flagged in review.
Exceptions:
- A constructor or finalizer takes the name of its type; NAM-130 does not apply to it.
Scope: Classes of every kind: sealed, abstract, static, partial and generic · Enforced: IDE1006, ReSharper: InconsistentNaming · Config: dotnet_naming_rule.nam_110_types.*, resharper_csharp_naming_rule.types_and_namespaces · Sources: MS-FDG-TYPES, MS-IDNAME, MS-IDE-NAMING, RD-NAMING
NAM-111¶
DO NOT add a Base suffix to an abstract or base class; name it after the abstraction it represents (PaymentProvider, not PaymentProviderBase).
✅ Correct
namespace Contoso.Orders;
public abstract class PaymentProvider // Named after the abstraction
{
public abstract Task AuthorizeAsync(Payment payment, CancellationToken cancellationToken = default);
}
public sealed class CardPaymentProvider : PaymentProvider
{
public override Task AuthorizeAsync(Payment payment, CancellationToken cancellationToken = default) =>
Task.CompletedTask;
}
❌ Incorrect — a Base suffix on the abstract class
namespace Contoso.Orders;
public abstract class PaymentProviderBase // Base suffix
{
public abstract Task AuthorizeAsync(Payment payment, CancellationToken cancellationToken = default);
}
Why: Callers hold the abstraction and refer to it by name. The suffix describes how the type is built (it is abstract), not what it represents, and it leaks into every signature that accepts the type. The Framework Design Guidelines advise against the suffix for public APIs. This rule covers every abstract or base class, public or not. No tool checks word choice, so reviewers apply this rule.
Scope: Abstract classes and other base classes · Enforced: Manual · Sources: MS-FDG-BASECLASS, MS-FDG-TYPES, AV
NAM-112¶
DO name a record with a PascalCase noun or noun phrase, the same way as a class (OrderLine, OrderPlaced).
✅ Correct
namespace Contoso.Orders;
public sealed record OrderPlaced(int OrderId, DateTimeOffset PlacedAt); // PascalCase noun phrase
❌ Incorrect — the record name starts with a lower-case letter
namespace Contoso.Orders;
public sealed record orderPlaced(int OrderId, DateTimeOffset PlacedAt); // Starts lower case
Why: A record is a type that callers use like a class, so the class rule applies unchanged. The parameters of a positional record become properties and follow NAM-140.
Scope: Records (record and record class) · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_110_types.*, resharper_csharp_naming_rule.types_and_namespaces · Sources: MS-IDNAME, MS-IDE-NAMING
NAM-113¶
DO name a record struct with a PascalCase noun or noun phrase (Money, Quantity).
✅ Correct
namespace Contoso.Orders;
public readonly record struct Money(decimal Amount, string Currency); // PascalCase noun
❌ Incorrect — the record struct name starts with a lower-case letter
namespace Contoso.Orders;
public readonly record struct money(decimal Amount, string Currency); // Starts lower case
Why: A record struct is a value type that is read like any other type, so it takes a noun name. The compiler also reports CS8981 for a type name made only of lower-case ASCII letters, as in the example.
Scope: Record structs (record struct, readonly record struct) · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_110_types.*, resharper_csharp_naming_rule.types_and_namespaces · Sources: MS-IDNAME, MS-IDE-NAMING
NAM-114¶
DO name a struct, including a readonly or ref struct, with a PascalCase noun or noun phrase (Quantity, LineSpan), with no S or Struct affix.
✅ Correct
namespace Contoso.Orders;
public readonly struct Quantity(int value) // PascalCase noun
{
public int Value { get; } = value;
}
public readonly ref struct LineSpan(ReadOnlySpan<OrderLine> lines)
{
public ReadOnlySpan<OrderLine> Lines { get; } = lines;
}
❌ Incorrect — a lower-case name, and a Struct suffix
namespace Contoso.Orders;
public readonly struct quantity(int value) // Starts lower case
{
public int Value { get; } = value;
}
public readonly struct QuantityStruct(int value) // Struct suffix
{
public int Value { get; } = value;
}
Why: The readonly and ref modifiers belong to the declaration, not to the name. An S or Struct affix (SQuantity, QuantityStruct) repeats the struct keyword. IDE1006 reports the casing only; reviewers flag the affix.
Scope: Structs, including readonly struct and ref struct · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_110_types.*, resharper_csharp_naming_rule.types_and_namespaces · Sources: MS-FDG-TYPES, MS-IDNAME
NAM-115¶
DO prefix an interface name with I followed by a PascalCase noun or adjective (IOrderRepository, IFormattable), and give its default implementation the same name without the I (NAM-024).
✅ Correct
namespace Contoso.Orders;
public interface IPaymentGateway // I prefix
{
Task<bool> CaptureAsync(Payment payment, CancellationToken cancellationToken = default);
}
public sealed class PaymentGateway : IPaymentGateway // Same name without the I
{
public Task<bool> CaptureAsync(Payment payment, CancellationToken cancellationToken = default) =>
Task.FromResult(payment.Amount > 0m);
}
❌ Incorrect — the interface name has no I prefix
namespace Contoso.Orders;
public interface PaymentGateway // Missing prefix: 'I'
{
Task<bool> CaptureAsync(Payment payment, CancellationToken cancellationToken = default);
}
Why: The I prefix is the one type-kind prefix .NET keeps. It separates a contract from its implementation in every base-type list (class PaymentGateway : IPaymentGateway). The implementation then takes the interface name without the I (NAM-024).
Scope: Interfaces · Enforced: IDE1006, CA1715 · Config: dotnet_naming_rule.nam_115_interfaces.*, resharper_csharp_naming_rule.interfaces · Sources: MS-FDG-TYPES, MS-IDNAME, MS-IDE-NAMING, RS-NAMING
NAM-116¶
DO name a generic type like a non-generic one, with a PascalCase noun and no arity, Of, Generic or T affix (Result<TValue>, IRepository<TEntity>).
✅ Correct
namespace Contoso.Orders;
public sealed class Result<TValue> // Noun only, no suffix
{
public TValue? Value { get; init; }
}
❌ Incorrect — a lower-case name, and a second type with an Of suffix
namespace Contoso.Orders;
public sealed class result<TValue> // Starts lower case
{
public TValue? Value { get; init; }
}
public sealed class ResultOf<TValue> // Of suffix repeats the type argument
{
public TValue? Value { get; init; }
}
Why: The angle brackets already show the type arguments. An Of, Generic or arity suffix repeats them and goes stale when a parameter is added. IDE1006 reports the casing; the suffixes are checked in review.
Scope: Generic classes, structs, records, interfaces and delegates · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_110_types.*, resharper_csharp_naming_rule.types_and_namespaces · Sources: MS-FDG-TYPES, MS-IDE-NAMING
NAM-117¶
DO name a single type parameter T and name every type parameter of a type or method with several of them T followed by a PascalCase description (TKey, TValue, TCommand).
✅ Correct
namespace Contoso.Orders;
public interface IHandler<TCommand, TResult> // T + description
{
Task<TResult> HandleAsync(TCommand command, CancellationToken cancellationToken = default);
}
✅ Correct — a single type parameter is just T
public static bool IsEmpty<T>(IReadOnlyList<T> items) => items.Count == 0; // Single parameter: T
❌ Incorrect — a type parameter without the T prefix
namespace Contoso.Orders;
public interface IHandler<Command, TResult> // Missing prefix: 'T'
{
Task<TResult> HandleAsync(Command command, CancellationToken cancellationToken = default);
}
Why: The T prefix marks a name as a type parameter wherever it appears, so Command cannot be mistaken for a type called Command. With one parameter T is enough. With two or more, the description (TKey, TValue) says which is which at every use.
Scope: Type parameters of generic types and methods · Enforced: IDE1006, CA1715 · Config: dotnet_naming_rule.nam_117_type_parameters.*, resharper_csharp_naming_rule.type_parameters · Sources: MS-FDG-TYPES, MS-IDNAME, MS-IDE-NAMING, RD-NAMING
NAM-118¶
DO name a nested type with a PascalCase noun or noun phrase, the same way as a top-level type.
✅ Correct
namespace Contoso.Orders;
public static class OrderCache
{
public static int CountLines(Order order)
{
var entry = new CacheEntry(order);
return entry.LineCount;
}
private sealed class CacheEntry(Order order) // PascalCase noun
{
public int LineCount { get; } = order.Lines.Count;
}
}
❌ Incorrect — the nested type name starts with a lower-case letter
namespace Contoso.Orders;
public static class OrderCache
{
public static int CountLines(Order order)
{
var entry = new cacheEntry(order);
return entry.LineCount;
}
private sealed class cacheEntry(Order order) // Starts lower case
{
public int LineCount { get; } = order.Lines.Count;
}
}
Why: A nested type is still a type, and its name appears in the same kinds of declarations. Keep nested types private (TYPE-033); a type that callers need becomes a top-level type.
Scope: Nested types (keep them private, TYPE-033) · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_110_types.*, resharper_csharp_naming_rule.types_and_namespaces · Sources: MS-FDG-TYPES, MS-IDE-NAMING
NAM-119¶
DO name a file-local type with a PascalCase noun or noun phrase, the same way as a public type.
✅ Correct
namespace Contoso.Orders;
public static class OrderCsvExporter
{
public static string Export(Order order) => new OrderCsvRow(order).Line;
}
file sealed class OrderCsvRow(Order order) // PascalCase noun
{
public string Line { get; } = string.Join(',', order.CustomerId, order.Lines.Count);
}
❌ Incorrect — the file type name starts with a lower-case letter
namespace Contoso.Orders;
public static class OrderCsvExporter
{
public static string Export(Order order) => new orderCsvRow(order).Line;
}
file sealed class orderCsvRow(Order order) // Starts lower case
{
public string Line { get; } = string.Join(',', order.CustomerId, order.Lines.Count);
}
Why: A file type is visible only inside its source file, but readers meet it in the same declarations and stack traces as any other type. The short scope does not change how its name reads.
Scope: File-local types (file modifier) · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_110_types.*, resharper_csharp_naming_rule.types_and_namespaces · Sources: MS-IDE-NAMING, MS-LANG-12
Enums, delegates and type suffixes¶
These rules use CA checks that report only public types, so the examples declare public types.
NAM-120¶
DO name an enum without [Flags] with a singular PascalCase noun and no Enum, Type or Kind suffix (OrderStatus, PaymentState).
✅ Correct
namespace Contoso.Orders;
public enum FulfillmentState // Singular noun
{
Pending = 0,
Picked = 1,
Shipped = 2
}
❌ Incorrect — an Enum suffix
namespace Contoso.Orders;
public enum FulfillmentStateEnum // Enum suffix
{
Pending = 0,
Picked = 1,
Shipped = 2
}
Why: A variable of an enum type holds one member (OrderStatus status), so the type name is singular. An Enum, Type or Kind suffix repeats what the declaration already says. CA1711 reports the Enum suffix and IDE1006 the casing; plural names and the Type and Kind suffixes are checked in review. An enum marked [Flags] is the exception and takes a plural name (NAM-121).
Scope: Enums without [Flags] · Enforced: IDE1006, CA1711 · Config: dotnet_naming_rule.nam_110_types.*, resharper_csharp_naming_rule.types_and_namespaces · Sources: MS-FDG-TYPES, MS-FDG-ENUM, MS-CA
NAM-121¶
DO name a [Flags] enum with a plural PascalCase noun, give its members power-of-two values and name the zero value None.
✅ Correct
namespace Contoso.Orders;
[Flags]
public enum NotificationChannels // Plural noun
{
None = 0, // Zero value is None
Email = 1,
Sms = 2,
Push = 4
}
❌ Incorrect — a singular name for a flags enum and a zero value that is not None
namespace Contoso.Orders;
[Flags]
public enum NotificationChannel // Singular name for a flags enum
{
Empty = 0, // Zero value is not named None
Email = 1,
Sms = 2
}
Why: A flags value holds a set of members, so the type name is plural (NotificationChannels channels). Power-of-two values let members combine with | without overlap, and None = 0 gives the empty set a name. The value rules for persisted enums are in VAR-546.
Scope: Enums marked [Flags] · Enforced: CA1008, CA2217, CA1027 · Sources: MS-FDG-ENUM, MS-FDG-TYPES, MS-CA
NAM-122¶
DO name enum members in PascalCase without repeating the enum name or a prefix (OrderStatus.Shipped, not OrderStatus.OrderStatusShipped).
✅ Correct
namespace Contoso.Orders;
public enum PaymentState
{
Authorized = 0, // No enum name in the member
Captured = 1
}
❌ Incorrect — each member repeats the enum name
namespace Contoso.Orders;
public enum PaymentState
{
PaymentStateAuthorized = 0, // Repeats the enum name
PaymentStateCaptured = 1 // Repeats the enum name
}
Why: Callers always write a member with its type (PaymentState.Authorized), so repeating the type in the member produces PaymentState.PaymentStateAuthorized.
Scope: Enum members · Enforced: CA1712, ReSharper: InconsistentNaming · Config: resharper_csharp_naming_rule.enum_member · Sources: MS-FDG-TYPES, MS-FDG-ENUM, MS-CA, RD-NAMING
NAM-123¶
DO end the name of a delegate type with Callback and never with Delegate, and declare events with EventHandler<TEventArgs> instead of a delegate type of your own (TYPE-030).
✅ Correct
namespace Contoso.Orders;
public delegate void OrderShippedCallback(int orderId); // Callback suffix
✅ Correct — an event uses EventHandler<TEventArgs>
public event EventHandler<OrderShippedEventArgs>? Shipped; // No custom delegate type
public void Complete(int orderId)
{
Shipped?.Invoke(this, new OrderShippedEventArgs(orderId));
}
❌ Incorrect — a Delegate suffix
namespace Contoso.Orders;
public delegate void OrderShippedDelegate(int orderId); // Delegate suffix
Why: Callback says how the delegate is used. Delegate repeats the delegate keyword. An event needs no delegate type of its own, because EventHandler<TEventArgs> already has the (object? sender, TEventArgs e) signature; CA1003 reports a custom event delegate for that reason, and TYPE-030 shows how to declare the event. For other callbacks, check first whether Func<> or Action<> (VAR-547) fits. A named delegate is needed when the signature has ref, out or in parameters.
Scope: Delegate types · Enforced: IDE1006, CA1711 · Config: dotnet_naming_rule.nam_110_types.*, resharper_csharp_naming_rule.types_and_namespaces · Sources: MS-FDG-TYPES, MS-FDG-EVENT, MS-CA, MS-CONV
NAM-124¶
DO end the name of every class derived from EventArgs with EventArgs (OrderShippedEventArgs).
✅ Correct
namespace Contoso.Orders;
public sealed class PaymentCapturedEventArgs(int orderId) : EventArgs // EventArgs suffix
{
public int OrderId { get; } = orderId;
}
❌ Incorrect — the EventArgs suffix is missing
namespace Contoso.Orders;
public sealed class PaymentCaptured(int orderId) : EventArgs // Missing EventArgs suffix
{
public int OrderId { get; } = orderId;
}
Why: The suffix lets a reader recognise event data in a signature such as EventHandler<PaymentCapturedEventArgs>. How to declare the event is in TYPE-030, and how to name the method that raises it is in NAM-145.
Scope: Classes derived from EventArgs · Enforced: CA1710 · Sources: MS-FDG-MEMBERS, MS-FDG-TYPES, MS-CA
NAM-125¶
DO end the name of every class derived from Attribute with Attribute and apply the attribute without the suffix ([Audited]).
✅ Correct
namespace Contoso.Orders;
[AttributeUsage(AttributeTargets.Class)]
public sealed class AuditedAttribute : Attribute; // Attribute suffix
[Audited] // Applied without the suffix
public sealed class OrderRefund;
❌ Incorrect — the Attribute suffix is missing
namespace Contoso.Orders;
[AttributeUsage(AttributeTargets.Class)]
public sealed class Audited : Attribute; // Missing Attribute suffix
Why: The compiler accepts [Audited] for a class named AuditedAttribute, so the suffix appears only in the declaration, where it marks the class as an attribute. Keep [AttributeUsage] on every attribute class (CA1018).
Scope: Classes derived from Attribute · Enforced: CA1710 · Sources: MS-FDG-TYPES, MS-IDNAME, MS-CA
NAM-126¶
DO end the name of every class derived from Exception with Exception (OrderNotFoundException).
✅ Correct
namespace Contoso.Orders;
public sealed class PaymentDeclinedException : Exception // Exception suffix
{
public PaymentDeclinedException() { }
public PaymentDeclinedException(string message) : base(message) { }
public PaymentDeclinedException(string message, Exception innerException) : base(message, innerException) { }
}
❌ Incorrect — the Exception suffix is missing
namespace Contoso.Orders;
public sealed class PaymentDeclined : Exception // Missing Exception suffix
{
public PaymentDeclined() { }
public PaymentDeclined(string message) : base(message) { }
public PaymentDeclined(string message, Exception innerException) : base(message, innerException) { }
}
Why: Stack traces, logs and catch clauses show the type name alone, so the suffix is what tells a reader that a type is an exception. The three standard constructors are required by ERR-015.
Scope: Classes derived from Exception · Enforced: CA1710 · Sources: MS-FDG-TYPES, MS-EXC, MS-CA
NAM-127¶
DO put extension members in a static class named <ExtendedType>Extensions (OrderExtensions, StringExtensions), one class per extended type.
✅ Correct
namespace Contoso.Orders;
public static class InvoiceExtensions // <ExtendedType>Extensions
{
public static bool IsOverdue(this Invoice invoice, DateTimeOffset now) => now > invoice.DueDate;
}
✅ Correct — the same class name when the members are written in an extension block
namespace Contoso.Orders;
public static class InvoiceExtensions // Same name for extension blocks
{
extension(Invoice invoice)
{
public bool IsOverdue(DateTimeOffset now) => now > invoice.DueDate;
}
}
❌ Incorrect — a name that does not say what it extends, holding extensions for two types
namespace Contoso.Orders;
public static class Helpers // Name does not say what it extends
{
public static bool IsOverdue(this Invoice invoice, DateTimeOffset now) => now > invoice.DueDate;
public static bool IsLarge(this Order order) => order.Total > 1_000m; // Second extended type in the class
}
Why: The class name tells a reader which type gains members, and one class per extended type keeps every extension of that type in one place. This rule owns the class name for both forms: classic extension methods (this parameter) and C# 14 extension blocks; name the receiver of a block by NAM-137. For a generic extended type, drop the type arguments (ListExtensions for List<T>). When to write an extension at all, and in which form, is covered by LANG-060. No tool checks the class name, so reviewers apply this rule.
Scope: Static classes that contain extension methods or C# 14 extension blocks · Enforced: Manual · Sources: MS-FDG-EXT, AV, MS-LANG-14
NAM-128¶
DO NOT end a type name with Impl, Helper, Manager, Utils, Util, Utility, Utilities, Info, Data, Wrapper or Processor, or with Collection, Dictionary, Queue, Stack or Stream unless the type derives from or implements that abstraction.
✅ Correct
namespace Contoso.Orders;
public static class OrderPriceCalculator // Names the role
{
public static decimal ApplyDiscount(Order order, decimal discountRate) => order.Total * (1m - discountRate);
}
❌ Incorrect — a Stream suffix on a type that is not a stream, and vague suffixes that say nothing about the role
namespace Contoso.Orders;
public sealed class OrderStream : IDisposable // Stream suffix on a type that is not a Stream
{
public void Dispose()
{
}
}
public sealed class OrderHelper; // Helper suffix says nothing about the role
public sealed class OrderManager; // Manager suffix says nothing about the role
public static class OrderUtils; // Utils suffix says nothing about the role
public static class OrderUtility; // Utility suffix says nothing about the role
public sealed class OrderInfo; // Info suffix: every type holds information
public sealed class OrderData; // Data suffix: every type holds data
public sealed class PaymentWrapper; // Wrapper suffix names how the type is built, not what it adds
public sealed class ShipmentProcessor; // Processor suffix: a verb without an object
Why: Helper, Manager, Utils, Util, Utility and Utilities say nothing about what a type does, so the type becomes a catch-all; name the role instead (OrderPriceCalculator). Info and Data fit every type, because every type holds information: OrderInfo and OrderData are Order under a vaguer name, so name the thing itself (Order, OrderSnapshot, OrderSummary). Wrapper states how a type is built, not what it adds; name the added behaviour (CachedOrderLookup, RetryingPaymentGateway). Processor is a verb without an object, because it does not say what is processed or how; name the action (PaymentAuthorizer, ShipmentLabelPrinter). Collection, Dictionary, Queue, Stack and Stream promise a base type that callers expect to be able to use; CA1711 and CA1710 report the mismatch. CA1711 also reports Impl, but it reports none of the other vague suffixes in the rule, so reviewers check Helper, Manager, Utils, Util, Utility, Utilities, Info, Data, Wrapper and Processor (TOOL-018). The default implementation of an interface is named by NAM-024, not with Impl. The Framework Design Guidelines ask for names that describe the type but publish no list of vague suffixes, and CA1711 covers only the reserved suffixes of its own table; the list of vague suffixes in this rule is a house convention that applies the same reasoning.
Exceptions:
- A type you do not declare keeps its name (
CultureInfo,ExceptionDispatchInfo); the rule applies to the types you write. - A name fixed by an external contract, such as a type generated from a schema or a protocol (NAM-025), is not renamed.
Scope: Type names of classes, records and structs · Enforced: CA1711, CA1710 · Sources: MS-FDG-TYPES, MS-FDG-COLL, MS-FDG-GENERAL, MS-CA, AV
NAM-129¶
DO NOT give a type the name of a BCL type or namespace segment that callers also use, such as Task, Action, Type, Stream, Tasks or Linq.
✅ Correct
namespace Contoso.Orders;
public sealed class FulfillmentJob // Specific noun
{
public int OrderId { get; init; }
}
❌ Incorrect — a type named like the System.Threading.Tasks namespace segment
namespace Contoso.Orders;
public sealed class Tasks // Matches the System.Threading.Tasks namespace
{
public int OrderId { get; init; }
}
Why: A caller who imports your namespace together with a BCL namespace gets an ambiguous or shadowed name. CA1724 checks type names against namespace names only. A type named Task, Action or Type clashes the same way, but reviewers must catch it.
Scope: Type names that callers use together with BCL types · Enforced: CA1724 · Sources: MS-FDG-NAMESPACES, MS-CA
Methods and extension members¶
These rules name methods, local functions, implementations and overrides, partial members and the receiver of an extension block.
NAM-130¶
DO name a method with a PascalCase verb or verb phrase that says what it does (PlaceOrderAsync, CalculateTotal, Ship).
✅ Correct
public static decimal CalculateTotal(IReadOnlyList<OrderLine> lines) => // Verb phrase
lines.Sum(line => line.Amount);
❌ Incorrect — the method name starts with a lower-case letter
public static decimal calculateTotal(IReadOnlyList<OrderLine> lines) => // Starts lower case
lines.Sum(line => line.Amount);
Why: A method does something, so its name is a verb phrase that reads at the call site: order.Ship(). A noun name such as Total() reads like a property; reviewers flag it, because no tool checks word choice. If the method takes no arguments and only returns a value, make it a property, and properties take nouns (NAM-140).
Exceptions:
- Operators have no custom name. A public type that overloads an operator also provides a named method (TYPE-031).
- Query methods are named by the result they return (
Get,Find,List,Exists,Count) as set by DATA-012.
Scope: Methods of every accessibility (local functions: NAM-134) · Enforced: IDE1006, ReSharper: InconsistentNaming · Config: dotnet_naming_rule.nam_130_methods.*, resharper_csharp_naming_rule.method · Sources: MS-FDG-MEMBERS, MS-IDNAME, MS-IDE-NAMING, RD-NAMING, AV
NAM-131¶
DO end the name of every method that returns an awaitable type or IAsyncEnumerable<T> with Async, except test methods and async void event handlers.
✅ Correct
public static async Task SaveOrderAsync(Order order, CancellationToken cancellationToken = default) // Ends with Async
{
ArgumentNullException.ThrowIfNull(order);
await Task.Delay(TimeSpan.FromMilliseconds(10), cancellationToken);
}
❌ Incorrect — an async method without the Async suffix
public static async Task SaveOrder(Order order, CancellationToken cancellationToken = default) // Missing 'Async'
{
ArgumentNullException.ThrowIfNull(order);
await Task.Delay(TimeSpan.FromMilliseconds(10), cancellationToken);
}
Why: The suffix tells the caller at the call site that the result is an awaitable type that must be awaited. Interface members follow the same rule (Task<Order?> FindAsync(int orderId, CancellationToken cancellationToken = default); in IOrderRepository), and so do non-async methods that forward a Task. Aviva adds Async only when a synchronous twin exists.
Exceptions:
- Test methods are named by TEST-011. The test-file section of the shipped
.editorconfigsets this naming rule tonone. - An
async voidevent handler is named by NAM-146, becausevoidis not awaitable. SuppressIDE1006on that handler with[SuppressMessage("Style", "IDE1006", Justification = "async void event handler; TAP suffix does not apply")]. - An override keeps the name of the member it overrides.
IDE1006checks only methods declaredasync. Reviewers checkTask-returning methods that are not.
Scope: Methods that return Task, Task<T>, ValueTask, ValueTask<T> or IAsyncEnumerable<T>, including interface members; tests and async void handlers excepted · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_131_async_methods.* · Sources: MS-TAP, MS-ASYNCRET, MS-IDE-NAMING, RD-NAMING
NAM-132¶
DO start the name of a method that returns bool with Is, Has, Can or Try so that the call reads as a yes/no question (IsEligibleForDiscount, HasOpenOrders, CanShip); Task<bool> query methods named Exists…Async follow DATA-012.
✅ Correct
public static bool CanShip(Order order) => order.Lines.Count > 0 && !order.IsShipped; // Reads as a question
❌ Incorrect — names that do not read as a yes/no question
public static bool Ship(Order order) => order.Lines.Count > 0; // Reads like an action
public static bool CheckShipping(Order order) => !order.IsShipped; // No question word
Why: A bool method answers a question, so the call should read as one: if (CanShip(order)). With a name such as Ship or CheckShipping, the reader cannot tell which result means yes. No tool checks word choice, so reviewers apply this rule.
Exceptions:
- Try-pattern methods follow NAM-133.
- A
Task<bool>query method namedExists…Asyncfollows DATA-012, not theIs,Has,CanorTryprefixes.
Scope: Methods whose return type is bool (Try-pattern methods: NAM-133) · Enforced: Manual · Sources: MS-FDG-MEMBERS, AV
NAM-133¶
DO name a method that reports failure through its return value Try<Verb>, return bool, put the result in an out parameter declared last, and set that parameter to default when the method returns false.
✅ Correct
public static bool TryParseQuantity(string text, out int quantity) => // Try + verb, bool, out parameter last
int.TryParse(text, CultureInfo.InvariantCulture, out quantity);
❌ Incorrect — failure reported through null, and an out parameter that is not last
public static int? ParseQuantityOrNull(string text) // Failure reported through null, not a Try method
{
return int.TryParse(text, CultureInfo.InvariantCulture, out int quantity) ? quantity : null;
}
public static bool TryParseQuantity(out int quantity, string text) => // The out parameter is not last
int.TryParse(text, CultureInfo.InvariantCulture, out quantity);
Why: The Try prefix and the bool result tell the caller that failure is expected and is not an exception. The out parameter comes last so that calls read TryParseQuantity(text, out int quantity). Setting it to default on failure means a caller never reads a half-built value, as int.TryParse does.
Scope: Try-pattern methods · Enforced: Manual · Sources: MS-FDG-EXCTHROW, MS-FDG-PARAMDESIGN, MS-EXC
NAM-134¶
DO name a local function with a PascalCase verb or verb phrase, the same way as a method.
✅ Correct
public static decimal CalculateRoundedTotal(Order order)
{
return RoundToCents(order.Total);
static decimal RoundToCents(decimal amount) => // Verb phrase
decimal.Round(amount, 2, MidpointRounding.AwayFromZero);
}
❌ Incorrect — the local function name starts with a lower-case letter
public static decimal CalculateRoundedTotal(Order order)
{
return roundToCents(order.Total);
static decimal roundToCents(decimal amount) => // Starts lower case
decimal.Round(amount, 2, MidpointRounding.AwayFromZero);
}
Why: A local function is a method with a narrower scope, so it reads and is named like one. When to use a local function instead of a lambda stored in a variable is covered by LANG-013.
Scope: Local functions · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_134_local_functions.*, resharper_csharp_naming_rule.local_functions · Sources: MS-IDNAME, RT-STYLE, MS-IDE-NAMING
NAM-135¶
DO keep the name and every parameter name of an interface or base member unchanged in its implementations and overrides, including explicit implementations (IFormattable.ToString(string? format, IFormatProvider? formatProvider)).
✅ Correct
namespace Contoso.Orders;
public interface IPricer
{
decimal CalculatePrice(decimal amount);
}
public sealed class FlatPricer : IPricer
{
public decimal CalculatePrice(decimal amount) => amount; // Same parameter name as IPricer
}
❌ Incorrect — the implementation renames the parameter
namespace Contoso.Orders;
public interface IPricer
{
decimal CalculatePrice(decimal amount);
}
public sealed class FlatPricer : IPricer
{
public decimal CalculatePrice(decimal total) => total; // Parameter renamed from 'amount'
}
Why: Callers pass arguments by name and read the names in editor tooltips. After the rename, the call CalculatePrice(amount: 9.99m) compiles through IPricer but not through FlatPricer.
Scope: Implicit and explicit interface implementations and overrides · Enforced: CA1725 · Sources: MS-FDG-PARAMDESIGN, MS-CA
NAM-136¶
DO give the defining and implementing parts of a partial member the same name and the same parameter names.
C# 13: Partial properties and indexers need C# 13, and partial constructors and events need C# 14. A partial method with an access modifier, as below, works since C# 9. The parts must still agree on every parameter name.
✅ Correct
namespace Contoso.Orders;
public sealed partial class OrderSnapshot
{
public partial int CountLines(int maximum);
}
public sealed partial class OrderSnapshot
{
private readonly List<OrderLine> _lines = [];
public partial int CountLines(int maximum) => Math.Min(_lines.Count, maximum); // Same name and parameter
}
❌ Incorrect — the implementing part renames the parameter
namespace Contoso.Orders;
public sealed partial class OrderSnapshot
{
public partial int CountLines(int maximum);
}
public sealed partial class OrderSnapshot
{
private readonly List<OrderLine> _lines = [];
public partial int CountLines(int limit) => Math.Min(_lines.Count, limit); // Parameter name differs: 'maximum'
}
Why: A partial member is one member. When its parts disagree on a parameter name, named arguments can bind to only one of the names and the other part misleads readers. The compiler reports the difference as CS8826.
Scope: Partial methods, properties, indexers, constructors and events · Enforced: CS8826 · Sources: MS-LANG-13, MS-LANG-14, MS-IDNAME
NAM-137¶
DO name the receiver of an extension block in camelCase after the extended type or its role (extension(Order order)), the same way as a parameter.
C# 14: An
extensionblock declares extension members, including extension properties. Before C# 14, an extension method takes its receiver as the first parameter, markedthis; that parameter follows NAM-220.
✅ Correct
namespace Contoso.Orders;
public static class OrderExtensions
{
extension(Order order) // camelCase receiver
{
public bool IsEmpty => order.Lines.Count == 0;
}
}
❌ Incorrect — the receiver is written in PascalCase
namespace Contoso.Orders;
public static class OrderExtensions
{
extension(Order Order) // Receiver in PascalCase
{
public bool IsEmpty => Order.Lines.Count == 0;
}
}
Why: Inside the block the receiver behaves as a parameter, so it takes the parameter style. A PascalCase receiver reads like a type or a property. When to write extension members at all is covered by LANG-060. The shipped configuration sets CA1034 to suggestion: it reports a public extension(...) block as a visible nested type, so a warning would fail every correct extension-member example.
Scope: Receiver parameter of a C# 14 extension(...) block · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_220_parameters.*, resharper_csharp_naming_rule.parameters · Sources: MS-LANG-14, MS-IDE-NAMING
Properties, events and indexers¶
These rules name properties, indexers, events, the methods that raise events and event handlers.
NAM-140¶
DO name a property with a PascalCase noun, noun phrase or adjective (Total, CreatedAt, Lines), and never give it the name of a Get method on the same type.
✅ Correct
public decimal Total { get; init; } // Noun
public DateTimeOffset CreatedAt { get; init; } // Noun phrase
❌ Incorrect — the property name starts with a lower-case letter
public decimal total { get; init; } // Starts lower case
Why: A property reads like a field, so it takes a noun, noun phrase or adjective. A property Total next to a method GetTotal() gives callers two members with one meaning. Reviewers also flag a verb name such as GetTotal on a property, because no tool checks word choice. How to declare the property is in VAR-520.
Scope: Properties of every accessibility (positional record parameters become properties) · Enforced: IDE1006 · Config: dotnet_naming_rule.nam_140_properties.*, resharper_csharp_naming_rule.property · Sources: MS-FDG-MEMBERS, MS-IDNAME, MS-IDE-NAMING, RD-NAMING
NAM-141¶
DO name a Boolean property as an affirmative statement that starts with Is, Has or Can (IsShipped, HasLines, CanBeCancelled), never as a negative (IsNotShipped).
✅ Correct
public IReadOnlyList<OrderLine> Lines { get; init; } = [];
public bool IsShipped { get; private set; } // Is + adjective
public bool HasLines => Lines.Count > 0; // Has + noun
❌ Incorrect — a name that is not a statement, and a negative name
public bool Shipped { get; private set; } // Not a statement: no Is, Has or Can
public bool IsNotCancelled { get; init; } // Negative name
Why: if (order.IsShipped) reads as the question it asks. A negative name turns the opposite check into a double negative: !order.IsNotCancelled. No tool checks word choice, so reviewers apply this rule.
Scope: Properties of type bool · Enforced: Manual · Sources: MS-FDG-MEMBERS, AV
NAM-142¶
DO name a collection property with a plural noun (Lines, Tags, PendingOrders), not with a List, Array or Collection suffix, unless the type itself is a named collection.
✅ Correct
public IReadOnlyList<string> Tags { get; init; } = []; // Plural noun
❌ Incorrect — a type suffix, and a singular name for a collection
public IReadOnlyList<string> TagList { get; init; } = []; // Type suffix in the name
public IReadOnlyList<string> Tag { get; init; } = []; // Singular name for a collection
Why: A plural name tells the reader that the property holds several items (order.Lines.Count). A type suffix such as TagList goes stale when the type changes, for example to ImmutableArray<string>. Which collection type to expose is covered by VAR-535. No tool checks the name, so reviewers apply this rule.
Exceptions:
- A property whose type is itself a named collection type, for example a class that derives from
Collection<T>, may end with that type's suffix.
Scope: Properties whose type is a collection · Enforced: Manual · Sources: MS-FDG-MEMBERS, MS-FDG-COLL, AV
NAM-143¶
DO keep the default indexer name Item and rename it with [IndexerName] only when another .NET language or an interop contract needs a specific name.
✅ Correct
private readonly List<OrderLine> _lines = [];
public OrderLine this[int lineNumber] => _lines[lineNumber]; // Default name: Item
❌ Incorrect — the indexer is renamed without an interop need
private readonly List<OrderLine> _lines = [];
[System.Runtime.CompilerServices.IndexerName("Line")] // Renamed without an interop need
public OrderLine this[int lineNumber] => _lines[lineNumber];
Why: C# callers always write order[3], so the metadata name of an indexer matters only to code that calls indexers by name, such as Visual Basic or reflection. Keep Item unless one of those callers needs another name. No tool checks this, so reviewers apply it.
Exceptions:
- A consumer in another .NET language, or an interop contract, that requires a specific name. State which one in a comment on the indexer.
Scope: Indexers · Enforced: Manual · Sources: MS-FDG-PROPERTY
NAM-144¶
DO name an event with a PascalCase verb or verb phrase in the present progressive for before-the-fact events (Closing) and the past tense for after-the-fact events (Shipped), with no Before, After or On prefix.
✅ Correct
namespace Contoso.Orders;
public sealed class Shipment
{
public event EventHandler<OrderShippedEventArgs>? Shipped; // Past tense
public void Complete(int orderId)
{
Shipped?.Invoke(this, new OrderShippedEventArgs(orderId));
}
}
❌ Incorrect — a lower-case event name and a Before prefix
namespace Contoso.Orders;
public sealed class Shipment
{
public event EventHandler<OrderShippedEventArgs>? shipped; // Starts lower case
public event EventHandler<OrderShippedEventArgs>? BeforeShip; // Before prefix
public void Complete(int orderId)
{
shipped?.Invoke(this, new OrderShippedEventArgs(orderId));
BeforeShip?.Invoke(this, new OrderShippedEventArgs(orderId));
}
}
Why: The tense says when the event is raised: Closing announces something that is about to happen and Shipped reports something that has happened. A Before or After prefix repeats the tense, and the On prefix is reserved for the method that raises the event (NAM-145).
Scope: Events · Enforced: IDE1006, CA1713 · Config: dotnet_naming_rule.nam_144_events.*, resharper_csharp_naming_rule.event · Sources: MS-FDG-MEMBERS, MS-FDG-EVENT, MS-CA, MS-IDE-NAMING
NAM-145¶
DO raise each event of an unsealed class from a protected virtual method named On<EventName> that takes the event data as one parameter named e.
✅ Correct
namespace Contoso.Orders;
public class Shipment
{
public event EventHandler<OrderShippedEventArgs>? Shipped;
public void Complete(int orderId)
{
OnShipped(new OrderShippedEventArgs(orderId));
}
protected virtual void OnShipped(OrderShippedEventArgs e) => Shipped?.Invoke(this, e); // On<EventName>
}
❌ Incorrect — a public raiser, a raiser with another name, and an event-data parameter not named e
namespace Contoso.Orders;
public class Shipment
{
public event EventHandler<OrderShippedEventArgs>? Shipped;
public event EventHandler? Closed;
public virtual void OnShipped(OrderShippedEventArgs e) => Shipped?.Invoke(this, e); // Public instead of protected
protected virtual void RaiseShipped(OrderShippedEventArgs e) => Shipped?.Invoke(this, e); // Not On<EventName>
protected virtual void OnClosed(EventArgs args) => Closed?.Invoke(this, args); // Parameter not named e
}
Why: A protected virtual method lets a derived class react to the event or change how it is raised, and the fixed name On<EventName> tells it where. A sealed class has no derived class, so it invokes the event directly, as the sealed Shipment does in NAM-144. This rule owns the name, the accessibility and the parameter of the raiser; TYPE-030 owns how the event itself is declared. No tool checks the method name, so reviewers apply this rule.
Scope: Event-raising methods in classes that can be derived from · Enforced: Manual · Sources: MS-FDG-EVENT, AV
NAM-146¶
DO name an event handler method On<Source><Event> (OnOrderShipped, OnPaymentCaptured) and never <Source>_<Event>.
✅ Correct
public static void Subscribe(Order order)
{
order.Shipped += OnOrderShipped;
}
public static void Unsubscribe(Order order)
{
order.Shipped -= OnOrderShipped;
}
private static void OnOrderShipped(object? sender, OrderShippedEventArgs e) => Console.WriteLine(e.OrderId);
❌ Incorrect — the Source_Event form
private static void Order_Shipped(object? sender, OrderShippedEventArgs e) => // Source_Event form with underscore
Console.WriteLine(e.OrderId);
Why: OnOrderShipped names the source and the event without an underscore, which NAM-016 restricts. The source part also keeps a handler apart from the method that raises the event (NAM-145). Order_Shipped is PascalCase, so IDE1006 stays silent; no tool checks the On<Source><Event> form, and only review catches it. The Visual Studio designer form Control_Event needs an underscore and a ReSharper option change.
Exceptions:
- Handlers that a UI designer generates keep the names it gives them.
- A handler that is never unsubscribed is written as a lambda and needs no name.
Scope: Methods that handle events (subscribers); designer-generated UI handlers are out of scope · Enforced: Manual · Sources: RS-NAMING, RS-NAMING-OPT, MS-CONV, MS-FDG-EVENT
Related¶
- Naming cheat sheet: one row per identifier kind, with the general rules for words, acronyms and underscores on the same page.
- NAM-016: where underscores are allowed.
- NAM-024: the name of the default implementation of an interface.
- NAM-205 and NAM-220: type-encoding prefixes and parameter names, on page 04.
- VAR-520, VAR-535, VAR-546 and VAR-547: how to declare properties, collections, enums and delegate-typed variables.
- TYPE-030, TYPE-031 and TYPE-033: events, operators and nested types.
- LANG-013 and LANG-060: local functions and extension members.
- ERR-015: the constructors of a custom exception.
- DATA-012: names of query methods.
- TEST-011: names of test methods.
Sources¶
MS-ASYNCRET · MS-CA · MS-CONV · MS-EXC · MS-FDG-BASECLASS · MS-FDG-COLL · MS-FDG-ENUM · MS-FDG-EVENT · MS-FDG-EXCTHROW · MS-FDG-EXT · MS-FDG-GENERAL · MS-FDG-MEMBERS · MS-FDG-NAMESPACES · MS-FDG-PARAMDESIGN · MS-FDG-PROPERTY · MS-FDG-TYPES · MS-IDE-NAMING · MS-IDNAME · MS-LANG-12 · MS-LANG-13 · MS-LANG-14 · MS-TAP · RT-STYLE · RS-NAMING · RS-NAMING-OPT · RD-NAMING · AV
Previous: Naming Cheat Sheet and Principles · Home · Next: Naming Fields, Parameters and Locals