George John has Published 1080 Articles

Logical Operators on String in C#

George John

George John

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

2K+ 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

417 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

3K+ 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

224 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

217 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

628 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

171 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

279 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

380 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

What is the best IDE for C# on MacOS?

George John

George John

Updated on 20-Jun-2020 17:20:26

1K+ Views

On Windows, the best IDE to run C# programs is Visual Studio. On MacOS, the best IDE can be considered as Monodevelop.Monodevelop is an open source IDE that allows you to run C# on multiple platforms i.e. Windows, Linux and MacOS. Monodevelop is also known as Xamarin Studio.Monodevelop has a ... Read More

Advertisements