Quick Reference

language sequence description comment
C# _ interface member prefix
C# _ with initializer suffix
C# _ with parameters suffix
C# a Array -
C# b Boolean -
C# c catch -
C# c class declaration -
C# c Collection<T> -
C# co conditional operator -
C# cr constructor declaration -
C# d default -
C# d Dictionary<TKey,TValue> -
C# de delegate declaration -
C# dt DateTime -
C# e else clause -
C# e IEnumerable<T> -
C# em enum declaration -
C# et event declaration -
C# f false -
C# f field declaration -
C# f finally -
C# fe foreach statement -
C# fr for statement -
C# g generic type prefix
C# g type parameter -
C# hs HashSet<T> -
C# i Immutable prefix
C# i Int32 -
C# i internal (Friend) prefix
C# ie inteface declaration -
C# if if statement -
C# ir indexer declaration -
C# k constant declaration -
C# l Int64 -
C# l lambda expression -
C# l List<T> -
C# ll LinkedList<T> -
C# m method declaration -
C# n (equal to) null -
C# n new object creation -
C# nn not (equal to) null -
C# no nameof operator -
C# o Object -
C# oc ObservableCollection<T> -
C# oo operator overload -
C# p private prefix
C# p property declaration -
C# pa parameter array -
C# pp preprocessor directive prefix
C# pp property declaration (expanded) -
C# ps private set -
C# q Queue<T> -
C# r read-only -
C# r return -
C# re return -
C# s Stack<T> -
C# s static (Shared) prefix (after access modifier)
C# s String -
C# sh switch statement -
C# st struct -
C# t explict cast operator -
C# t true -
C# t try -
C# this containing type name -
C# to typeof operator -
C# tw throw statement -
C# u using statement -
C# v local variable prefix
C# v virtual (Overridable) prefix (after access modifier)
C# we while statement -
C# y yield -

Additional Notes

  • Default access modifier for declaration snippet is public.
  • Snippetica snippets should not collide with predefined Visual Studio snippets.