×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
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
Library
Videos
Q/A
eBooks
Login
Library
Videos
eBooks
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
Varun
has Published
104
Answers
String Formatting with ToString in C#
Csharp
Programming
Server Side Programming
varun
Published on 31-Aug-2018 16:47:34
To format a string, first set the value −int value = 55;Now to format the integer, use ToString and let’s say we need to set it for three places −value.ToString("000");The following is the complete code −Example Live Demousing System; public class Program { public static void Main() { ...
Read More
C# equivalent to Java's Thread.setDaemon?
Csharp
Programming
Server Side Programming
varun
Published on 31-Aug-2018 15:20:27
C# equivalent to Java's Thread.setDaemon is the concept of foreground and background threads. When the foreground threads will close, the background threads will be terminated. Foreground threads continue to run until the last foreground thread is terminated. The property used for background thread is IsBackground that gets or sets a ...
Read More
Generating random numbers in C#
Csharp
Programming
Server Side Programming
varun
Published on 31-Aug-2018 15:16:19
To generate random numbers, use Random class.Create an object −Random r = new Random();Now, use the Next() method to get random numbers in between a range −r.Next(10, 50);The following is the complete code −Example Live Demousing System; public class Program { public static void Main() { Random ...
Read More
Valid variant of Main() in C#
Csharp
Programming
Server Side Programming
varun
Published on 31-Aug-2018 11:01:53
The Main method is the entry point for all C# programs. It states what the class does when executed.The valid variant of Main() is −static void Main(string[] argsHere, static − the object is not needed to access static membersvoid − return type of the methodMain − entry point for any ...
Read More
CSS rest Speech Media property
CSS
Web Development
Front End Technology
varun
Published on 07-Jun-2018 16:25:55
The rest property is a shorthand property for rest-before and rest-after properties. Set a pause before or after the element.The following is the syntax:rest: rest-before rest-afterHere, rest-before: Rest for some seconds beforerest-after: Rest for some seconds afterExampleThe following is an example of rest speech media property:h1 { rest: 15ms 20ms; }
Read More
Display the flex lines at the start of the container with CSS
CSS
Web Development
Front End Technology
varun
Published on 07-Jun-2018 14:30:03
Use the align-content property with value flex-start to set the flex lines in the beginning.ExampleYou can try to run the following code to implement the flex-start value:Live Demo<!DOCTYPE html> <html> <head> <style> .mycontainer { display: flex; ...
Read More
Set top-left corner border with CSS
CSS
Web Development
Front End Technology
varun
Published on 07-Jun-2018 10:46:39
Use the border-top-left-radius property to set the border of the top left corner. You can try to run the following code to implement border-left-radius property:ExampleLive Demo<html> <head> <style> #rcorner { border-radius: 25px; ...
Read More
What are CSS Transitions?
CSS
Web Development
Front End Technology
varun
Published on 16-May-2018 15:04:08
With the transition effect, you can easily change the property values. You can also set a duration.Let us try to change the height of an element:ExampleLive Demo<!DOCTYPE html> <html> <head> <style> div { width: 150px; ...
Read More
Change the position on transformed elements with CSS
CSS
Web Development
Front End Technology
varun
Published on 16-May-2018 14:32:05
To change the position on transformed elements with CSS, use the transform-origin property.You can try to run the following code to change the position:ExampleLive Demo<!DOCTYPE html> <html> <head> <style> .demo1 { width: 300px; ...
Read More
Set the navigation bar to stay at the bottom of the web page with CSS
CSS
Web Development
Front End Technology
varun
Published on 16-May-2018 10:53:08
To set the navigation bar at bottom, use position: fixed property, with bottom property.You can try to run the following code to implement a menu that stays on the bottom, ExampleLive Demo<!DOCTYPE html> <html> <head> <style> ul { ...
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