Do you know this example tricks?

VB.Net / Generics

Declare a generic type

VB.Net / Data Types

Parse Hex number to BigInteger

C# by API / System Net

New IPEndPoint(IPAddress, int port)

Oracle PLSQL Tutorial / Transaction

Committing and Rolling Back a Transaction

Delphi / Games

Constructing inner loop for games

Java / Threads

Swing and Threading

Oracle PLSQL / System Packages

This script deletes a pipe if it exists in the context of the current session, then recreates it

Java Tutorial / Swing

Check if a JCheckBox is selected in its item change listener

Perl / Win32

Prints Windows Primary Domain Controller

C# / Date Time

ToString()

Delphi / Examples

Using xml and xslt in delphi

Java / JNDI LDAP

Reading an Objects Attributes from the Directory

Sample Android Codes

Android / UI

Drag and move a dot

Android / Date Type

Split a String by a Character, i e Split lines by using n

Android / UI

AlertDialog vs Toast

Android / Date Type

Tests if an integer is power of two

Android / Date Type

Tests if a string is numeric, i e contains only digit characters

Android / 2D Graphics

Finger Paint

Android / File

Returns a canonical line of a obj or mtl file

Android / Date Type

Get year value from Date

Android / Development

Get attribute value

Android / Animation

Extends Animation to create your own animation

Android / Game

Distance calculation

Android / Core Class

Utility class used to deal with SD card cache

Sample C# Codes

C# / XML LINQ

Calling the Only DescendantNodesAndSelf Prototype

C# / Development Class

Add a EventLogTraceListener to the listener collection and writing error messages to the Application log

C# / Collections Data Structure

Hashtable Remove Method removes the element with the specified key from the Hashtable

C# / Network

Gets a local operating-system representation of a file name

C# / WPF

Set TextBlock FontSize for Grid

C# / Language Basics

Passing Exceptions on to the Caller

C# / Event

Key Press

C# / ADO Database

Reading An XML File Into A Dataset

C# / Development Class

Input Output

C# / File Stream

FileSecurity Class

C# / XML

Set XmlReaderSettings

C# / File Stream

Demonstrates attaching a StreamReader object to a stream

Sample Java Codes

Java / File Input Output

Write file with FileChannel

Java / Language Basics

Hierarchy 2

Java / JDK

Add Components to JTabbedPane

Java / Threads

Thread interrupt check

Java / Swing Components

ToolTip List Example

Java / File Input Output

Copy files using Java IO API

Java / Security

Encrypting an Object with DES

Java / GWT

Grid Filter Bulder Sample (Smart GWT)

Java / JNDI LDAP

How to look up an object

Java / Internationalization

Convert a string based locale into a Locale Object

Java / J2EE

Update Object

Java / PDF RTF

Drawing Text with RGB Fill

Purposes of this site

Includes detail codes for any language desired for beginners

  • Benefits
  • C#
  • Java
  • Andorid
  • Xml
  • Databases

Quick and simple examples suitable for everyone


The content of the site is updated from time to time. Does not require membership. It is prepared for students to assist in the fields of computer engineering and software engineering.