Tip Bank

DevX - Software Development Resource

Creating a project into an existing folder

When you create a new project, VS.NET automatically creates a folder with the project’s name under the selected directory. If you name your project MyTestProject, and select an existing folder

DevX - Software Development Resource

Setting up multiple start-up projects

By default, a solution has a single start-up project, namely the project that is automatically launched when you click Debug | Start or press F5. However, you have the option

DevX - Software Development Resource

Get the Current Directory

The program is used to display the current and parent directory. ‘.’represents the current directory and ‘..’ represents the parent directory import java.io.File; public class CurrentDir { public static void

DevX - Software Development Resource

Breaking Data Hiding

It is said that C++ provides data hiding, but the following code shows that this is not always true. You can break the C++s data-hiding facility using the memory function:

DevX - Software Development Resource

Get the Maximum Value Across Columns in TSQL

There is no TSQL function for extracting maximum values across columns. However, you can use MAX() and MIN() functions to obtain the maximum or minimum value in any particular row.