Wednesday 6 November 2013

C# String justification

C#Literal
     Split
          IndexOf
                Copy
                    Concat
                        Insert
                               Replace
                                       Length

              C# SubString

Substring
  Truncate:

Compare
  Equals
  Compare
  StringComparer
  StringComparison

New
 String Constructor
Intern
 string.Intern
 string.IsInterned

Format
 string.Format
 DateTime Format
 ToString

Format-Parse strings into variables
   TryParse
   DateTime.Parse
   Enum.Parse
   int.Parse
     
   int.TryParse
   Hex Format

Format - Performance:
  int.Parse Optimization
  ToString Format Optimization

Lowercase, uppercase
 ToUpper
 ToLower

Invariant methods.
 ToLowerInvariant
 Uppercase First Letters
 ToTitleCase
 TextInfo

Whitespace[Trim]
 Trim
 TrimEnd
 TrimStart

Pad strings.
 PadLeft
 PadRight

Pad - Newlines and whitespace.
 Environment.NewLine
 string.IsNullOrWhitespace
 Whitespace
 Line Count

Empty
 Empty Strings
 Null Strings
 string.Empty
 string.IsNullOrEmpty

Chars
 Change Characters in String
 String Char Tips
 String For-Loop

Normalize
 Normalize, IsNormalized

Parameter

Performance
 Memory Usage
 Equals Performance
 Replace Logic
 Replace Chars
 ToString Cache

Misc.
 String Property
 String Append
 String ToString

C# Return
 Return Array
 Return Bool
 Return Multiple Values

C# Intermediate Language
 Goto
 While
 For
 Break
 Return
 Increment Int
 Decrement Int

Constructs
 Try
 Catch
 Finally
 Throw

Checked, unchecked
 Checked
 Unchecked

C# Return

c# Types
 ArgumentException
 ArgumentNullException
 ArgumentOutOfRangeException
 ArrayTypeMismatchException
 DirectoryNotFoundException
 DivideByZeroException
 FileNotFoundException
 FormatException
 IndexOutOfRangeException
 InvalidCastException
 InvalidOperationException
 IOException
 KeyNotFoundException
 NotImplementedException
 NullReferenceException
 OutOfMemoryException
 OverflowException
 StackOverflowException
 TypeInitializationException

No comments:

Post a Comment