George John has Published 1167 Articles

How to convert Upper case to Lower Case using C#?

George John

George John

Updated on 21-Jun-2020 13:10:21

2K+ Views

To convert Upper case to Lower case, use the ToLower() method in C#.Let’s say your string is −str = "TIM";To convert the above uppercase string in lowercase, use the ToLower() method −Console.WriteLine("Converted to LowerCase : {0}", str.ToLower());The following is the code in C# to convert character case −Exampleusing System; using ... Read More

Logical Operators on String in C#

George John

George John

Updated on 21-Jun-2020 12:40:48

1K+ Views

The following are the logical operators that you can use on Strings in C#.OperatorDescriptionExample&&Called Logical AND operator. If both the operands are non zero then condition becomes true.(A && B) is false.||Called Logical OR Operator. If any of the two operands is non zero then condition becomes true.(A || B) ... Read More

What are two-dimensional arrays in C#?

George John

George John

Updated on 21-Jun-2020 12:20:25

227 Views

A 2-dimensional array is a list of one-dimensional arrays.Two-dimensional arrays may be initialized by specifying bracketed values for each row.int [, ] a = new int [2, 2] {    {0, 1} ,    {4, 5} };The following is an example showing how to work with two-dimensional arrays in C# ... Read More

Transpose a matrix in C#

George John

George John

Updated on 21-Jun-2020 12:11:32

2K+ Views

Transpose of a matrix flips the matrix over its diagonal and this brings the row elements on the column and column elements on the row.For example −Matrix before Transpose: 123 456 789 Matrix after Transpose: 147 258 369Let us see an example in C# to achieve transpose of ... Read More

What are extender provider components in C#?

George John

George John

Updated on 21-Jun-2020 11:58:57

114 Views

To provide properties to other components, the extender provider is used. Let’s consider an example of a TooTtip component.You add the component to a form. This sets a ToolTip property to every control. The same property is not under the attacked PropertyGrid control.myTooltip1.SetToolTip(btn1, "This is ToolTip!");Let us see how to ... Read More

Set the style of the bottom border using CSS

George John

George John

Updated on 21-Jun-2020 10:18:13

114 Views

To set the style of the bottom border, use the border-bottom-style property. The values for the border you can set is, dotted, double, dashed, solid, etc.ExampleYou can try to run the following code to style bottom borderLive Demo                    p.dotted ... Read More

Disable text wrapping inside an element using CSS

George John

George John

Updated on 21-Jun-2020 08:36:27

446 Views

To disable text wrapping inside an element, use the white-space property. You can try to run the following code to implement the white-space propertyExampleLive Demo                    p {             white-space: nowrap;         ... Read More

CSS3 Multi-Column column-gap Property

George John

George John

Updated on 21-Jun-2020 06:23:17

78 Views

The multi-column column-gap property is used to decide the gap between the columns.ExampleYou can try to run the following code to implement column-gap propertyLive Demo                    .multi {             /* Column count property */     ... Read More

Rotate the element based on an angle using CSS

George John

George John

Updated on 21-Jun-2020 05:14:45

176 Views

Let us learn how to rotate the element based on an angleExampleLive Demo                    div {             width: 300px;             height: 100px;             background-color: pink;             border: 1px solid black;          }          div#myDiv {             /* IE 9 */             -ms-transform: rotate(20deg);                         /* Safari */             -webkit-transform: rotate(20deg);                         /* Standard syntax */             transform: rotate(20deg);          }                              Tutorials point.com.                      Tutorials point.com           Output

What is the best IDE for C# on Windows?

George John

George John

Updated on 20-Jun-2020 17:34:48

236 Views

The best IDE for C# on Windows is Microsoft Visual Studio. It is an IDE to develop websites, web apps, mobile apps, etc.The following are the features of Visual Studio IDE−Code Editor − Visual Studio has a code editor supporting syntax highlighting and code completion using IntelliSense.Breakpoints − Set breakpoints ... Read More

Advertisements