Do you know this example tricks?

ASP.Net Tutorial / Custom Controls

A Web user control file template

Flex / Data Model

Define name space for WebService

ASP.Net Tutorial / Data Binding

Fibonacci Tree On Demand

C# Tutorial / WPF

Using an Image as an Opacity Mask

VB.Net / WPF

Button Padding

C# / Data Types

Checking for overflows

C# by API / System Xml

XmlTextWriter Formatting

C# by API / System

Console CursorVisible

JavaScript Tutorial / MS JScript

Dictionary Item()

Java Tutorial / Thread

Test Unsynchronized method

Delphi / ADO Database

Get the odbc datasource names

Perl / System Functions

All installed files

Sample Android Codes

Android / UI

This demo illustrates the use of CHOICE_MODE_MULTIPLE_MODAL, a k a selection mode on ListView

Android / Development

Decode UTF8 to char

Android / Date Type

Split By Space

Android / UI

Backup Activity

Android / UI

Using MultiAutoCompleteTextView

Android / Development

Basically Class getMethod but allows for a list of parameter types instead of a variable arguments list

Android / Core Class

Scan SDReceiver extends BroadcastReceiver

Android / File

Make a direct NIO ByteBuffer from an array of bytes

Android / Security

RSA encryptdecrypt function (RSA ECB PKCS1-Padding)

Android / Date Type

Join an array of Strings together

Android / 2D Graphics

Extends BaseAdapter to create adapter for images

Android / Core Class

Get Application File Path

Sample C# Codes

C# / Data Types

Format double value to its percentage form

C# / Collections Data Structure

Demonstrate Hashtable

C# / WPF

TextBox with UpdateSourceExceptionFilter handler

C# / Collections Data Structure

Hashtable Remove Method removes the element with the specified key from the Hashtable

C# / Collections Data Structure

Dequeue

C# / XML

Control Serialization of Derived Classes

C# / XML

Gets an appropriate System Xml XmlReader implementation for the supplied System IO Stream

C# / Reflection

Run staticInstance method

C# / Collections Data Structure

Searches for object and returns the zero-based index of the last occurrence

C# / XML

Writes text content

C# / Development Class

Wraps the mod result to avoid negative results

C# / WPF

Set TextBlock.FontSize for Grid

Sample Java Codes

Java / Swing JFC

Preventing a JToolbar Container from Floating

Java / Collections Data Structure

Removes all nulls from the input enumeration

Java / Event

Demonstrating the AdjustmentListener

Java / Development Class

UUID generator from Sun Microsystems

Java / File Input Output

Create a human-readable file size

Java / XML

Use JDOM to change the element text

Java / J2EE

Fetches one or more messages from a queue using asynchronous message delivery

Java / SWT Jface Eclipse

TextField Example

Java / Language Basics

Demonstrates for loop by listing all the lowercase ASCII letters

Java / Swing JFC

A simple example of constructing and using menus

Java / JPA

Empty Value

Java / Security

Generates a 1024-bit Digital Signature Algorithm (DSA) key pair

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.