Basics code snippets (40)
How to declare multiline strings
Published: 15. February 2012 | Updated: 15. February 2012Categories: Basics Strings
Tags: Basics C# Text
How to convert string to char array and vice versa
Published: 15. February 2012 | Updated: 15. February 2012Categories: Strings
Tags: Array Basics C# Text
How to check for interface implementation
Published: 15. February 2012 | Updated: 15. February 2012Categories: Basics
Tags: Basics C#
How to clone/copy struct
Published: 31. January 2012 | Updated: 31. January 2012Categories: Basics
Tags: Basics C#
How to truncate text
Published: 30. January 2012 | Updated: 30. January 2012Categories: Strings
Tags: Basics C# Text
How to compare strings with ignoring the case
Published: 25. November 2011 | Updated: 25. November 2011Categories: Strings
Tags: Basics C# Text
How to get new line
Published: 23. November 2011 | Updated: 23. November 2011Categories: Strings
Tags: Basics C# Text
How to clone object
Published: 23. November 2011 | Updated: 23. November 2011Categories: Basics
Tags: Basics C#
How to create empty array
Published: 30. September 2011 | Updated: 1. November 2011Categories: Arrays
Tags: Array Basics C#
How to create unique id
Published: 1. November 2011 | Updated: 1. November 2011Categories: Basics
Tags: Basics C#
How to get Unicode Category for character
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is control
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is lowercase or uppercase
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is white space
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is separator
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is symbol
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is letter
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is digit
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether character is punctuation mark
Published: 31. October 2011 | Updated: 31. October 2011Categories: Strings
Tags: Basics C# Text
How to dispose object
Published: 31. October 2011 | Updated: 31. October 2011Categories: Basics
Tags: Basics C# Design Patterns
How to update dictionary value
Published: 27. October 2011 | Updated: 27. October 2011Categories: Collections
Tags: Basics C# Collections
How to create partial class
Published: 9. October 2011 | Updated: 27. October 2011Categories: Basics
Tags: Basics C#
How to iterate dictionary
Published: 27. October 2011 | Updated: 27. October 2011Categories: Collections
Tags: Basics C# Collections
How to get value in dictionary by key
Published: 27. October 2011 | Updated: 27. October 2011Categories: Collections
Tags: Basics C# Collections
How to get values from dictionary
Published: 27. October 2011 | Updated: 27. October 2011Categories: Collections
Tags: Basics C# Collections
How to get keys from dictionary
Published: 9. October 2011 | Updated: 27. October 2011Categories: Linq
Tags: Basics C# Collections
How to get substring from text
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to convert string to lowercase
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to convert string to uppercase
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to trim string
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to get string length
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to replace specified string in string
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to get the last index of character in string
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to get the first index of character in string
Published: 14. October 2011 | Updated: 26. October 2011Categories: Strings
Tags: Basics C# Text
How to find out whether type is value or reference type
Published: 20. October 2011 | Updated: 26. October 2011Categories: Types
Tags: Basics C#
How to get default value for type
Published: 21. December 2008 | Updated: 26. October 2011Categories: Types
Tags: Basics C#
How to check that struct is empty
Published: 26. October 2011 | Updated: 26. October 2011Categories: Basics
Tags: Basics C#
How to override method
Published: 20. October 2011 | Updated: 20. October 2011Categories: Basics
Tags: Basics C#
How to call base method in overridden method
Published: 20. October 2011 | Updated: 20. October 2011Categories: Basics
Tags: Basics C#
How to overload constructor
Published: 20. October 2011 | Updated: 20. October 2011Categories: Basics
Tags: Basics C#





