Do you know this example tricks?

Silverlight / Shapes

Create rectangles in WPF

Flex / Event

Pass individual properties to an event listener

VB.Net Tutorial / GUI

Add Menu to Form window and attach actions

Flex / Effects

Combine Fade and Move effect into Sequence

C# / 2D Graphics

Resize Image

Java by API / Java Lang

Object

Delphi / Examples

Shut down windows

JavaScript DHTML / HTML

Call function in hyper link

XML Tutorial / XML Schema

The basic syntactical representation of the unique element

ASP.Net Tutorial / Sessions

Insert view state data in Page render event (C#)

Oracle PLSQL Tutorial / Character String Functions

Use length() function three times in a select statement

Ruby / Statement

Unless can work in exactly the same way because unless is just the opposite of if

Sample Android Codes

Android / Media

Using Service to play media file

Android / Animation

Animation Interpolator

Android / Network

Pull the raw text content of the given URL

Android / Date Type

Byte To Unsigned Int

Android / Date Type

Get Moscow Time

Android / Hardware

Set full screen mode

Android / Date Type

ISO8601, ISO8601, RFC822 Date format

Android / Network

Suggest Url Provider

Android / Network

Http Request

Android / Core Class

Using android os Handler

Android / 2D Graphics

Bitmap and RenderScript

Android / UI

Using LayoutInflater

Sample C# Codes

C# / LINQ

Calling the Filter Method with an Anonymous Method

C# / WPF

Animate Opacity

C# / LINQ

Query with an Exception

C# / Development Class

Decodes all or part of the input base64 encoded StringBuffer

C# / Data Types

Converts double to Boolean value

C# / Language Basics

Determine if a number is prime If it is not, then display its largest factor

C# / Data Types

Ensures the carriage returns See http

C# / Reflection

Gets a RuntimeFieldHandle, which is a handle to the internal metadata representation of a field

C# / XML LINQ

Calling the ToString Method on an Element Produces the XML Tree

C# / Data Types

Displays the value with three elements in the GroupSize array

C# / File Stream

Replace String In File

C# / Data Types

Is and Box UnBox

Sample Java Codes

Java / Language Basics

Demonstrating the Exception Methods

Java / Swing JFC

Detect a drag initiating gesture in your application

Java / Development Class

A hash map with int key and int values

Java / SWT Jface Eclipse

SWT Toolbar Demo

Java / 2D Graphics GUI

This program demonstrates the Porter-Duff composition rules

Java / GWT

Using NumberField as table cell renderer (Ext GWT)

Java / Security

KeyPair Generator For Public Key

Java / File Input Output

Create BufferedWriter from FileWriter and write strings to the file

Java / Servlets

Filter that wraps an HttpServletRequest to override isUserInRole

Java / Collections Data Structure

Returns the maximum value in a float-type array

Java / SWT Jface Eclipse

Group Label and Button

Java / File Input Output

An limited-data-size input stream

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.