Do you know this example tricks?

C# / Data Types

Format value

ASP.Net / Validation By Control

Validate by a Server Validate function (VB net)

Java Tutorial / Collections

Convert the given array (which may be a primitive array) to an object array

C# / 2D Graphics

Illustrates the use of multiple Pens

Perl / Array

Convert array to scalar

MSOfficeWord 2007 Tutorial / Style Formatting

Saving the current paragraphs settings as a paragraph style

ASP.Net Tutorial / Development

Application RemoveAll()

Java / Generics

Simple STL Pair Implementation

Java / PDF RTF

Graphics2D DrawString

Java / Swing JFC

Applet Menu Bar Demo

VB.Net Tutorial / Date Time

Parse Date

Silverlight / UI Controls

Check Media duration

Sample Android Codes

Android / Network

Make all redirects to go to http in stead of https

Android / UI

Compass

Android / UI

Toast LENGTH_SHORT

Android / Network

Get Host From Url

Android / 2D Graphics

Typefaces Demo

Android / Game

Get Angle for two lines

Android / Network

Search with Restful service

Android / File

ViewListen to media file

Android / UI

Adding Touch Listener to ImageView

Android / Core Class

Creates a file storing a UUID on the first application start This UUID can then be used as a identifier of this specific applic

Android / UI

ImageView background

Android / Media

Record audio to 3gpp file

Sample C# Codes

C# / XML

XmlReader Create creates a new XmlReader instance

C# / Data Types

Test to see if a double is a finite number (is not NaN or Infinity)

C# / Language Basics

Print the stack trace when an exception is thrown

C# / XML

Removes all specified attributes from the element

C# / LINQ

Second Select Prototype

C# / Collections Data Structure

Load elements into a generic list from an array

C# / Class Interface

Return IEnumerable

C# / GUI Windows Form

Define your own dialog box and get user input

C# / Thread

Monitor

C# / Collections Data Structure

Illustrates how to use array properties and methods

C# / Date Time

Use the Add() method to add a TimeSpan instance to another

C# / XML LINQ

Handling Multiple Peer Nodes While Maintaining a Flat Structure

Sample Java Codes

Java / File Input Output

Null Writer

Java / File Input Output

Write different data types with DataOutputStream

Java / Database SQL JDBC

Test DataSource LookUp

Java / Swing JFC

Set the grid color

Java / Velocity

If Else and End

Java / Threads

Thread Pool Test

Java / File Input Output

Monitor files for changes

Java / SWT Jface Eclipse

Bug Tracker JFace

Java / Collections Data Structure

Check if a particular value exists in Java LinkedHashMap example

Java / Swing JFC

Create a simple browser in Swing

Java / Regular Expressions

Regex for IP v6 Address

Java / Network Protocol

Http get with CharBuffer and ByteBuffer

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.