Do you know this example tricks?

JavaScript DHTML / Window Browser

Screen width Example

Java / Event

KeyStroke Sample

Delphi / ADO Database

How To Building Connection String At Run Time For Any DataBases

C# / Class Interface

Demostrates the use of an abstract class, including an abstract method and abstract properties

JavaScript DHTML / Smartclient

Dynamic grouping

Java / JNDI LDAP

How to register a listener for Unsolicited Notifications

Oracle PLSQL Tutorial / Trigger

Mark trigger with PRAGMA AUTONOMOUS_TRANSACTION

ASP.Net Tutorial / Configuration

Enable files up to 10MB to be posted, changes the buffering threshold to 100KB

C# by API / System Configuration

AppSettingsReader GetValue

C / Code Snippets

Blinking text in DOS, compiled with Turbo C

VB.Net Tutorial / WPF

Display a Context Menu with Opacity

Oracle PLSQL / Date Timezone

Get NLS date format

Sample Android Codes

Android / UI

Get Menu title

Android / UI

Make Toast Text

Android / UI

Check Activity result and onActivityResult

Android / User Event

Touch screen

Android / UI

Demonstrates required behavior of saving and restoring dynamic activity state

Android / File

InputStream to byte array, copy Reader and Writer

Android / Development

Object to JSON

Android / Network

Get File From HTTP

Android / File

Static methods used for common file operations on Android

Android / Core Class

A custom preference type The preference counts the number of clicks it has received and storesretrieves it from the storage

Android / File

Write and append string to file

Android / File

Trims down obj files, so that they may be parsed faster later on

Sample C# Codes

C# / File Stream

Get Content Type by Extension

C# / Date Time

Full date long time format

C# / ADO Database

Populate a DataSet object with a range of rows from a SELECT statement

C# / WPF

Xaml frame on a Tab

C# / Language Basics

Fixing Managed Data in Memory

C# / WPF

Use DispatcherTimer to change Dependency Property

C# / Data Types

Parse a string to decimal with NumberStyles AllowDecimalPoint

C# / WPF

Spot light

C# / Collections Data Structure

Uses the Array Copy() method to copy part of an array ints into a secton of an array of doubles

C# / Data Types

Using Char

C# / 2D Graphics

Scribble with Bitmap

C# / Class Interface

A multilevel hierarchy 1

Sample Java Codes

Java / PDF RTF

Setting up Local Destination

Java / Development Class

Unicode Util

Java / XML

Resolve relative URIs and SystemID strings into absolute URIs

Java / Development Class

Trace InputStream

Java / JSP

EL and Complex JavaBeans

Java / File Input Output

Find a pattern within a file

Java / Spring

Use JdbcTemplate To Execute Aggregate Function

Java / Reflection

Contains Same Method Signature

Java / File Input Output

Create a ByteBuffer

Java / Collections Data Structure

Sorted list

Java / Web Services SOA

This demo shows how JAX-WS handlers are used

Java / Data Type

Left justify the contents of the string, ensuring that the supplied string begins at the first character and that the resulting

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.