Quick Reference

language sequence description comment
C# _ interface member declaration prefix
C# a Array -
C# b Boolean -
C# c catch clause -
C# c class declaration -
C# c Collection<T> -
C# co constructor declaration -
C# cop conditional operator -
C# d default keyword -
C# d Dictionary<TKey,TValue> -
C# de delegate declaration -
C# dt DateTime -
C# e else clause -
C# en enum declaration -
C# ev event declaration -
C# f field declaration -
C# f finally clause -
C# fe foreach statement -
C# fr for statement -
C# hs HashSet<T> -
C# i Immutable prefix
C# i Int32 -
C# i interface declaration -
C# i internal (Friend) prefix
C# if if statement -
C# in indexer declaration -
C# k constant declaration -
C# l lambda expression -
C# l List<T> -
C# ll LinkedList<T> -
C# m method declaration -
C# n (equals to) null -
C# n new object creation -
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# ps private set -
C# q Queue<T> -
C# r read-only prefix (after access modifier)
C# r return keyword -
C# re record declaration -
C# s Stack<T> -
C# s static (Shared) prefix (after access modifier)
C# s String -
C# st struct declaration -
C# sw switch statement -
C# t explict cast operator -
C# t try statement -
C# th throw statement -
C# this containing type name -
C# to typeof operator -
C# u using statement -
C# v local variable declaration -
C# v virtual (Overridable) prefix (after access modifier)
C# w while statement -
C# x logical not operator prefix
C# x with initializer suffix
C# y yield prefix

Additional Notes

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