![macvim cheat sheet pdf macvim cheat sheet pdf](https://rumorscity.com/wp-content/uploads/2014/08/10-Best-VIM-Cheat-Sheet-04.jpg)
Returns the zero-based index of the first occurrence of the specified Unicode character in the current string. Replaces one or more format items in a specified string with the string representation of a specified object. Public static string Format(string format, Object arg0) Public static bool Equals(string a, string b)ĭetermines whether two specified String objects have the same value.
![macvim cheat sheet pdf macvim cheat sheet pdf](https://media.cheatography.com/storage/thumb/deleted-30467_css-cheat-sheet.600.jpg)
Public void CopyTo(int sourceIndex, char destination, int destinationIndex, int count)Ĭopies a specified number of characters from a specified position of the String object to a specified position in an array of Unicode characters.ĭetermines whether the end of the string object matches the specified string.ĭetermines whether the current String object and the specified String object have the same value. Returns a value indicating whether the specified String object occurs within this string.Ĭreates a new String object with the same value as the specified string. Public static string Concat(string str0, string str1, string str2, string str3) Public static string Concat(string str0, string str1, string str2) Public static string Concat(string str0, string str1) However, it ignores the case if the Boolean parameter is true. Public static int Compare(string strA, string strB, bool ignoreCase )Ĭompares two specified string objects and returns an integer that indicates their relative position in the sort order. # Methods public static int Compare(string strA, string strB)Ĭompares two specified string objects and returns an integer that indicates their relative position in the sort order. Gets the number of characters in the current String object. Gets the Char object at a specified position in the current String object. Returns a string that represents the current object. Sorts the elements in an entire one-dimensional Array using the IComparable implementation of each element of the Array. The index is specified as a 32-bit integer. Sets a value to the element at the specified position in the one-dimensional Array. Reverses the sequence of the elements in the entire one-dimensional Array. Searches for the specified object and returns the index of the first occurrence within the entire one-dimensional Array. Gets the value at the specified position in the one-dimensional Array. Gets the upper bound of the specified dimension in the Array. Gets the lower bound of the specified dimension in the Array. Gets a 64-bit integer that represents the number of elements in the specified dimension of the Array. Gets a 32-bit integer that represents the number of elements in the specified dimension of the Array. The length is specified as a 32-bit integer.Ĭopies all the elements of the current one-dimensional Array to the specified one-dimensional Array starting at the specified destination Array index. Sets a range of elements in the Array to zero, to false, or to null, depending on the element type.Ĭopies a range of elements from an Array starting at the first element and pastes them into another Array starting at the first element. Gets the rank (number of dimensions) of the Array. Gets a 64-bit integer that represents the total number of elements in all the dimensions of the Array. Gets a 32-bit integer that represents the total number of elements in all the dimensions of the Array. Gets a value indicating whether the Array is read-only. Gets a value indicating whether the Array has a fixed size. * if condition is true then print the following */Ĭonsole.WriteLine("None of the values is matching") Ĭonsole.WriteLine("Exact value of a is: ", sum) * executes when the none of the above condition is true */ * Executes when the boolean expression 3 is true */ * Executes when the boolean expression 2 is true */ * Executes when the boolean expression 1 is true */ Increment operator increases integer value by oneĭecrement operator decreases integer value by oneĬhecks if the values of two operands are equal or not, if yes then condition becomes true.Ĭhecks if the values of two operands are equal or not, if values are not equal then condition becomes true.Ĭhecks if the value of left operand is greater than the value of right operand, if yes then condition becomes true.Ĭhecks if the value of left operand is greater than or equal to the value of right operand, if yes then condition becomes true.īitwise exclusive OR and assignment operatorīitwise inclusive OR and assignment operatorĭetermines whether an object is of a certain type.Ĭast without raising an exception if the cast fails. Modulus Operator and remainder of after an integer division