
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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
Ankith Reddy has Published 996 Articles

Ankith Reddy
479 Views
FileInfo type has a Length property that determines how many bytes a file has.Firstly, set the file −FileInfo file = new FileInfo("D:ew");Now use the Length property −file.LengthHere is the complete code −Exampleusing System; using System.Linq; using System.IO; class Program { static void Main() { FileInfo file ... Read More

Ankith Reddy
142 Views
If you are writing your document using a character set other than ASCII or ISO-8859-1 you might want to set the @charset rule at the top of your stylesheet to indicate what character set the style sheet is written in.The @charset rule must be written right at the beginning of ... Read More

Ankith Reddy
155 Views
Shadow filter is used to create an attenuated shadow in the direction and color specified.The following parameters can be used in this filter −S.NoParameter & Description1ColorThe color that you want the shadow to be.2DirectionThe direction of the blur, going clockwise, rounded to 45-degree increments. The default value is 270 (left).0 ... Read More

Ankith Reddy
163 Views
The size property specifies the size and orientation of a page box. There are four values which can be used for page size auto - The page box will be set to the size and orientation of the target sheet.landscape − Overrides the target's orientation. The page box is the same ... Read More

Ankith Reddy
292 Views
Use the mask effect to turn transparent pixels to a specified color and makes opaque pixels transparent. The following parameter is used in this filterSr.NoParameter & Description 1ColorThe color that the transparent areas will become.ExampleYou can try to run the following code to implement mask effect ... Read More

Ankith Reddy
1K+ Views
To make any particular color transparent, use Chroma Filter. You can use it with scrollbars also.The following parameter can be used in this filterParameterDescriptionColorThe color that you'd like to be transparent.Implementing the CSS Chroma Filter −Live Demo Text Example: CSS Tutorials

Ankith Reddy
389 Views
To import styles from another style, use the @import rule. It should appear right at the start of the style sheet before any of the rules, and its value is a URL.You can write it like this The significance of the @import rule is that it allows you ... Read More

Ankith Reddy
295 Views
The FileInputStream class contains a method read(), this method accepts a byte array as a parameter and it reads the data of the file input stream to given byte array. Assume the file myData contains the following data −Exampleimport java.io.File; import java.io.FileInputStream; public class FileToByteArray { public static ... Read More

Ankith Reddy
2K+ Views
It is very easy to do date and time maths in Python using time delta objects. Whenever you want to add or subtract to a date/time, use a DateTime.datetime(), then add or subtract date time.time delta() instances. A time delta object represents a duration, the difference between two dates or ... Read More

Ankith Reddy
2K+ Views
You can get all the values using a call to dict.values(). Then you can call ", ".join on the values to concatenate just the values in the dict separated by commas. examplea = {'foo': "Hello", 'bar': "World"} vals = a.values() concat = ", ".join(vals) print(concat)OutputThis will give the output −Hello, WorldRead More