Do you know this example tricks?

VB.Net / LINQ

Determine if the two lists are equal

Java / Development Class

A class to wait until a condition becomes true

VB.Net Tutorial / Date Time

DateVariable = July 2, 2002

Java / XML

Traverse the DOM tree as a list

VisualBasic Script / Excel

XlWBATExcel4IntlMacroSheet

C++ / Language

Throwing Exceptions out of nested function calls

C# / Class Interface

Overriding the ToString() Method

C++ / Qt

Drag and drop text

VB.Net / Development

BitConverter GetBytes(UInt64) Returns the specified 64-bit unsigned integer value as an array of bytes

XML / XML Schema

Refernece anonymous complexType

MSSQL Tutorial / Query

Calculation in where clause

Python / GUI Tk

Message Field

Sample Android Codes

Android / 2D Graphics

OpenGL ES version of a sprite

Android / UI

A list view example where the data comes from a custom ListAdapter

Android / 2D Graphics

Unscaled Bitmap Loader

Android / Development

Xml Serializer Uri

Android / UI

Is ToggleButton selected

Android / Network

Alarm service

Android / UI

Context Menu event

Android / Core Class

Reads all text from asset with specified path

Android / 2D Graphics

Memory Cache for Bitmap

Android / File

Get Resource As Stream, Loads the resource from classpath

Android / Core Class

Get User name

Android / Media

List the MediaStore

Sample C# Codes

C# / Language Basics

Return different value to the operating system based on the argument length

C# / Date Time

Calculation based on the TimeSpan

C# / Internationalization

Ptr To String Utf8

C# / Development Class

Object ReferenceEquals Method Determines whether the specified Object instances are the same instance

C# / Date Time

Universal sortable date format

C# / WPF

Add ApplicationCommands Cut to TextBox with TextBox CommandBindings

C# / Network

Better Data Sender

C# / Development Class

Regex and letter case

C# / WPF

Document Styles

C# / File Stream

IsDebug

C# / ADO Database

Open the XML file and read into a DataSet

C# / Language Basics

Demonstrate #if, #endif, and #define

Sample Java Codes

Java / Collections Data Structure

Redundancy Checker

Java / Collections Data Structure

Use an Iterator to cycle through a collection in the forward direction

Java / EJB3

Entity bean lifecycle

Java / Security

Secure Random

Java / Collections Data Structure

Return a new byte array containing a sub-portion of the source array

Java / Swing Components

Auto complete or search in a JComboBox

Java / GWT

Read only TextBox

Java / JPA

Match Single Character And Multiple Characters

Java / Data Type

Convert from integer to String

Java / Data Type

Replaces all occurences of a substring inside a string

Java / Internationalization

Unicode Writer

Java / GWT

TextField cell renderer (Smart GWT)

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.