×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Tutorix
Login
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Q/A
Library
eBooks
Courses
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Selected Reading
UPSC IAS Exams Notes
Developer's Best Practices
Questions and Answers
Effective Resume Writing
HR Interview Questions
Computer Glossary
Who is Who
Seetha
has Published
110
Answers
String Formatting in C# to add padding
Csharp
Programming
Server Side Programming
seetha
Published on 31-Aug-2018 13:11:35
With C#, you can easily format content and add padding to it.To add padding −const string format = "{0, -5} {1, 5}";Now, add the padding to the strings −string str1 = string.Format(format, "Rank", "Student"); string str2 = string.Format(format, "2", "Tom");Let us see the complete code −Example Live Demousing System; using System.Collections.Generic; ...
Read More
Print first letter of each word in a string using C# regex
Csharp
Programming
Server Side Programming
seetha
Published on 31-Aug-2018 11:55:39
Let’s say our string is −string str = "The Shape of Water got an Oscar Award!";Use the following Regular Expression to display first letter of each word −@"\b[a-zA-Z]"Here is the complete code −Example Live Demousing System; using System.Text.RegularExpressions; namespace RegExApplication { public class Program { private static ...
Read More
How do I determine the size of my array in C#
Csharp
Programming
Server Side Programming
seetha
Published on 31-Aug-2018 09:14:00
Firstly, set an array −int[] arr = {6, 3, 8, 4};Now, use the Length property to get the size of the array −arr.LengthLet us see the complete code −Example Live Demousing System; namespace Demo { public class Demo { public static void Main(string[] args) { ...
Read More
Set top-right corner border with CSS
CSS
Web Development
Front End Technology
seetha
Published on 07-Jun-2018 12:00:25
Use the border-top-right radius property in CSS to set the top right radius border. You can try to run the following code to implement border-top-right-radius property −ExampleLive Demo<html> <head> <style> #rcorner { border-radius: 25px; ...
Read More
Animate CSS left the property
CSS
Web Development
Front End Technology
seetha
Published on 07-Jun-2018 11:35:55
To implement animation on left property with CSS, you can try to run the following code:ExampleLive Demo<!DOCTYPE html> <html> <head> <style> div { border: 2px solid black; width: 300px; ...
Read More
Set all border-radius properties with CSS
CSS
Web Development
Front End Technology
seetha
Published on 07-Jun-2018 07:08:05
Use the border-radius property to set all the four border-radius properties. You can try to run the following code to implement border-radius property:ExampleLive Demo<html> <head> <style> #rcorner { border-radius: 25px; ...
Read More
Set the name of the CSS property the transition effect is for
CSS
Web Development
Front End Technology
seetha
Published on 16-May-2018 12:44:57
To set the name of the CSS property the transition effect is, use the CSS transition-property.In the below example, we have set the property as width and set the duration as well:ExampleLive Demo<!DOCTYPE html> <html> <head> <style> div { ...
Read More
Set bottom tooltip with CSS
CSS
Web Development
Front End Technology
seetha
Published on 16-May-2018 07:45:08
To set bottom tooltip, use the top CSS property.You can try to run the following code to set bottom tooltip to a text:ExampleLive demo<!DOCTYPE html> <html> <style> .mytooltip .mytext { visibility: hidden; width: 140px; ...
Read More
What are Floating List Items in CSS
CSS
Web Development
Front End Technology
seetha
Published on 09-May-2018 10:44:50
To create a horizontal navigation bar, use the floating list item.ExampleYou can try to run the following code to create horizontal navigation bar −Live Demo<!DOCTYPE html> <html> <head> <style> ul { list-style-type: none; ...
Read More
Style <input> elements with a value outside a specified range with CSS
CSS
Web Development
Front End Technology
seetha
Published on 09-May-2018 07:41:51
Use the CSS :out-of-range selector to style <input> elements with a value outside a specified range.ExampleYou can try to run the following code to implement the :out-of-range selector:Live Demo<!DOCTYPE html> <html> <head> <style> input:out-of-range { border: ...
Read More
1
2
3
4
5
6
7
...
11
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout