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
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
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
Keyboard shortcuts improve productivity by accomplishing tasks more quickly and without much effort. If you have used the new YahooMail or Gmail, you will be quiet familiar with these shortcuts.
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
By referencing the following two Microsoft Office DLLs and using the .NET code thereafter, you can convert a .ppt file into either an image file or an HTML file: Microsoft.Office.Interop.PowerPoint.dll
The following C# code references the System.Management namespace to retrieve information about logical drives in a system. You just need to supply the username, password and machine name for the
Whenever you write classes and functions in Visual Studio, it is a good practice to write XML comments for documentation. For example, before a function starts, you can document which
To programmatically detect the users connected to Windows Server, you have to use PInvoke to call the Windows Terminal Services API. Alternatively, you can use a .NET library called Cassia,
When you use the comparison operators in SQL with the Where clause, you can remove the columns with null values. If you need the values with null too, then you