Tip Bank

DevX - Software Development Resource

Java Tip: Optimization Technique for Lists

The default size for a Java ArrayList class is 10. When an ArrayList reaches its capacity maximum (10), it increases its capacity by approximately half. That is why an ArrayList

DevX - Software Development Resource

Programmatically Upload a File to FTP Server in .Net

The following code snippet could be used to upload files to an FTP site. It uses the ‘FtpWebRequest’ and ‘FtpWebResponse’ classes from the System.Net namespace.Using System.Net: //Also include any other

DevX - Software Development Resource

Referencing External Configuration Files in .NET

It is always a good design practice to keep most generalized configuration settings in application configuration files (i.e., app.config or web.config) and very particular settings in external configuration files. Suppose