Do you know this example tricks?

Delphi / LAN Web TCP

Detect and download a new version of [an own] application

MSSQL Tutorial / System Functions

Adding a message to the sysmessages table using the REPLACE option

Java / JDK

Simple jaxb

Java / Development Class

This program demonstrates the use of an XML encoder and decoder to save and restore a frame

Python Tutorial / Network

FTP nlst example

ASP.Net / Asp Control

A basic TreeView control

MSSQL Tutorial / Aggregate Functions

SUM returns the total value in a column of all selected records or all the DISTINCT (unique) values selected by the qu

C# / GUI Windows Form

Add ListView column and insert ListView rows

C# by API / System Drawing Drawing2d

GraphicsPath AddBezier

Java / Threads

The producer-consumer approach to thread cooperation

XML / Xquery

Prolog default namespace declaration

Python / GUI Tk

Add a label to the top of a frame

Sample Android Codes

Android / File

Make Float Buffer with ByteBuffer allocateDirect

Android / 2D Graphics

Using Typeface to create ttf file

Android / 2D Graphics

Extends BaseAdapter to create Image adapter

Android / Date Type

Get start date of a year

Android / Core Class

Intent ACTION_MEDIA_MOUNTED

Android / Network

Is valid URL

Android / UI

Show dialog

Android / UI

This demonstrates idiomatic usage of the Action Bar

Android / Media

Video Gallery

Android / 2D Graphics

Canvas Layers

Android / UI

Color Select Dialog

Android / 2D Graphics

Load Bitmap from resource

Sample C# Codes

C# / Web Services

DirectoryServices GUI

C# / Data Types

Use TryParse to Convert string to double

C# / Collections Data Structure

Converts an System Collections ICollection instance to an System Collections ArrayList instance

C# / WPF

Shape Exclude

C# / WPF

Polyline by Points

C# / Date Time

Illustrates the use of DateTime and TimeSpan instances

C# / Internationalization

Return the value of CharSize and display it

C# / Data Types

Split with a list of dividers

C# / WPF

RectangleGeometry

C# / WPF

Display a Status Bar

C# / Data Types

Use general format to output a float point value

C# / ADO Database

Use the ExecuteXmlReader() method to run a SELECT statement that returns XML

Sample Java Codes

Java / Swing JFC

Creating a Class-Based Custom Cell Renderer in a JTable Component

Java / File Input Output

Read file using Scanner class

Java / 2D Graphics GUI

Check if image supported

Java / Security

ClassLoader ClassLoader java security AccessController doPrivileged(PrivilegedActionClassLoader action)

Java / 2D Graphics GUI

Returns green-yellow-red-black color scale

Java / Regular Expressions

Find all matches

Java / Collections Data Structure

Show the union and intersection of two sets

Java / SWT Jface Eclipse

Creates a toolbar

Java / Swing JFC

TitledBorder Demo

Java / Language Basics

Return stack trace from the passed exception as a string

Java / Collections Data Structure

Iterate through a Collection using Java Iterator

Java / Database SQL JDBC

Get Primary Key Column From A Table

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.