Do you know this example tricks?

C++ Tutorial / Class

Static data members

VB.Net / Language Basics

StringBuilder AppendLine Method appends line terminator to the end of the current StringBuilder object

VB.Net / 2D Graphics

Demo for Solid Brush and Pen

C++ Tutorial / Class

Calling base method from overridden method

Java Tutorial / Data Type

Four different date formats for four countries

VisualBasic Script / Excel

Early vs Late Binding

JavaScript DHTML / HTML

TrueSpeed Example

Php / Algorithms

New functions for PHP3. For those that know Perl, you will recognize

C# Tutorial / Data Type

Converting an enumerated value to a string

Java Tutorial / Swing

URL Label

JavaScript Reference / Javascript Methods

CreateTextRange() is applied to

Oracle PLSQL / Char Functions

Simple demo for UPPER() function

Sample Android Codes

Android / Date Type

Load 16 Bit PCM Raw Data File As Double Array

Android / UI

Using Icon in Menu

Android / Core Class

Get Permissions For Package

Android / File

File Copy Util

Android / Hardware

Memory information

Android / UI

Extends ViewGroup to do layout

Android / 2D Graphics

Drawable Manager

Android / UI

Dynamic List item

Android / Core Class

Extends Fragment to display result

Android / Network

Parse Request Header

Android / 2D Graphics

Bitmap Decode

Android / File

Read Config ini file

Sample C# Codes

C# / WPF

Relative pack URI referring to external component for a Resource

C# / Network

DNS Name Resolution

C# / Data Types

Declare a nullable type by adding the type modifier in a value type declaration

C# / Collections Data Structure

Dictionary(TKey, TValue) represents a collection of keys and values

C# / XML

Reading from an XML file

C# / Language Basics

Demonstrate is

C# / Development Class

Print all System Information

C# / 2D Graphics

Texture Brush Wrap mode

C# / WPF

Adding border to TextBlock with Border

C# / Event

Get Async Key State

C# / WPF

Reading individual key state with Keyboard IsKeyDown

C# / WPF

Disabled Button with ToolTipService

Sample Java Codes

Java / Development Class

Extracts a specific property key subset from the known properties

Java / Data Type

Removes spaces (char = 32) from end of this array by index, handling null by returning null

Java / Internationalization

Format date for a Locale

Java / Database SQL JDBC

Demo Get Generated Keys MySQL

Java / Development Class

Checks if the String contains only unicode digits or space

Java / SWT Jface Eclipse

Simple Tree

Java / 2D Graphics GUI

A cyclic gradient

Java / J2ME

Todo MIDlet

Java / Data Type

Compares all Strings in an array and returns the initial sequence of characters that is common to all of them

Java / XML

DOM Util

Java / Data Type

Display standard 12-hour time format

Java / File Input Output

Read in the current contents of the java net homepage

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.