According to the existing C prefix pattern for classes, you must prefix S for struct, i for interface.
In addition, the prefix is ββE for listing, D for delegate, D for directory, F / M for function / method, F for file, F for field, N for namespace, P for page, P for parameter, P for property, R for the return value, v for the variable.
As with variables, the prefix
- a for array
- b for boolean
- c for char
- f for float
- g for GUID
- h for descriptor
- i for int
- j for json
- k for key
- l for the list
- m for MarshalByRefObject
- n for nullable
- o for the object
- p for pointer
- q for the queue
- r for the registry
- s for single
- t for TimeZone
- u for Uri
- v for version
- w for WeakReference
- x for XmlDocument
- y for yoda
- z for zipfile
Example
Good:
namespace NGqqnbig.NConsoleApplication1 { class CProgram { static void Main(string[] pasArgs) { FMain(pasArgs); } static void FMain(string[] pasArgs) { var vsLine= CConsole.FReadLine(); var viSVN= CConvert.FToInt32(vsLine); var occCVC = new CCCCVC(); occCVC.PICVC = viSVN; } } class CCCCVC { private int fiCVC; public int PICVC { get { return fiCVC; } set { fiCVC = pivalue; } } } }
Poorly:
namespace Gqqnbig.ConsoleApplication1 { class CProgram { static void Main(string[] args) { var line= Console.ReadLine(); var svn= Convert.ToInt32(line); var cardVerificationCode = new CreditCardVerificationCode(); cardVerificationCode.VerificationCode = svn; } } class CreditCardVerificationCode { public int VerificationCode { get; set; } } }
Gqqnbig
source share