Do you know this example tricks?

Visual C++ .NET / Collections

Multi dimension uniform

Java / J2ME

Animated Timer

JavaScript Reference / Javascript Methods

GetUTCDate() Example

Java Tutorial / Data Type

Automatic Type Promotion in Expressions

C# Tutorial / WPF

Origin in center Y increases going down

Delphi / Graphic

How to getset JPG resolution

C# Tutorial / WPF

Hard shadow on top of soft shadow

Visual C++ .NET / Function

Call a Function

XML Tutorial / XML Schema

The nonPositiveInteger datatype is derived from the integer type

ASP.Net / ADO Database

Highlight Rows

C++ Tutorial / String

Searching for the last occurrence of any character other than o, n, e, or space

Flex / Development

Call JavaScript function to get the result

Sample Android Codes

Android / UI

Use the animateLayoutChanges tag in XML to automate transition animations as items are removed from or added to a container

Android / UI

Set Layout Parameters, Scale Type, background for ImageView

Android / Hardware

A light pool of objects that can be resused to avoid allocation

Android / UI

Switch to a TableLayout

Android / Hardware

Detect USB device

Android / Date Type

Using Timer to do repeat task

Android / Game

Extends View to create game board

Android / Core Class

Using Geocoder

Android / UI

Show Alert

Android / 2D Graphics

OpenGL Sprite Text Activity

Android / Date Type

Pad Front

Android / Date Type

Load 16 Bit PCM Raw Data File As Double Array

Sample C# Codes

C# / ADO Database

Using Multi Tabled Datasets

C# / Data Types

String insert and output

C# / WPF

Strikethrough decoration with dashes

C# / 2D Graphics

Animates an image

C# / WPF

Triangular Clip Example

C# / XML LINQ

Converts the supplied DateTimeOffset to a String in the specified format

C# / WPF

Fixed Tiles

C# / Collections Data Structure

Array FindAll Method

C# / ADO Database

SqlConnection state change event

C# / Generics

Implement generic IEnumerable

C# / WPF

Use KeyBinding to bind Key event to TextBox InputBindings

C# / Date Time

DateTime ToString with CultureInfo

Sample Java Codes

Java / Database SQL JDBC

Stored procedure with InputOutput parms and a ResultSet

Java / 2D Graphics GUI

A simple spring simulation in one dimension

Java / Data Type

Strip certain characters from a String

Java / File Input Output

A single checksum calculation for multiple files

Java / Reflection

Retrieving other information through the class pointer

Java / JPA

Entity Join With Condition

Java / Language Basics

Java new formatted IO

Java / Development Class

Basic Timer

Java / Hibernate

Criteria QBE (Query By Example) Advanced Criteria

Java / Development Class

Create key press event using Robot class

Java / Servlets

Request display

Java / Development Class

Reverse String Test

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.