Do you know this example tricks?

Delphi / Forms

Ana formu saklamak

C# Tutorial / WPF

Load Resource for Application

Ruby / Hash

Join hash keys together

MySQL / Insert Delete Update

Use the SQL statement INSERT to create a record

C# / Data Types

NumberFormatInfo Percent Decimal Digits

Java / Swing JFC

Create and use Synth Look and feel

VB.Net / Data Structure

Your own Generic List Dictionary

Java / Development Class

The Base64 utility class implements Base-64 and Base-85 encoding and decoding algorithms

Java Tutorial / Development

Accessing a single System Properties

C# Tutorial / ADO Net

Create and fill the DataRow array

C / Language Basics

A for loop inside main function

Oracle PLSQL / Analytical Functions

MEDIAN(expr1)

Sample Android Codes

Android / UI

Load Button from layout xml file and add action listener

Android / 2D Graphics

Draw a rectangle with float values

Android / Core Class

Debug Util

Android / UI

Layout align Baseline, align Right

Android / UI

External Storage Activity

Android / Hardware

External Storage Directory

Android / Core Class

Utility log tool

Android / UI

Set ImageView width, height

Android / Media

Using MediaController to control Video

Android / Network

Start Html Email Intent

Android / Date Type

Given a number, round up to the nearest power of ten times 1, 2, or 5 The argument must be strictly positive

Android / 2D Graphics

Text on a Path

Sample C# Codes

C# / Class Interface

The destructors are called bottom-up, which confirms the sequencing of destructors

C# / LINQ

Single with object list

C# / File Stream

Get string from byte array

C# / Network

Stream Tcp Client

C# / 2D Graphics

Clip Draw

C# / 2D Graphics

Load animated ani file

C# / Network

Udp Client Multi Receive

C# / LINQ

Anonymous Types

C# / GUI Windows Form

Irregularly Shaped Forms demo 1

C# / File Stream

Reads text from a file

C# / File Stream

MemoryStream ToArray, MemoryStream ReadDecimal

C# / Development Class

Load Rescouce BMP image

Sample Java Codes

Java / Apache Common

Exercises the various protocols available in the Commons Net Package

Java / Generics

Custom Generic Object Tester

Java / GWT

This grid shows the sort-direction arrow in the top-right corner only (Smart GWT)

Java / 2D Graphics GUI

Rotate a line of character (String)

Java / JSTL

Property Access

Java / Collections Data Structure

Compare if two array is equal

Java / Development Class

Express a duration in term of HH

Java / Threads

Another way to suspend and resume

Java / SWT Jface Eclipse

How to create CustomControl in SWT

Java / Data Type

Returns a string that contains all characters of the given string in reverse order

Java / Class

Clone an object with clone method from parent

Java / 2D Graphics GUI

Layered Icon

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.