Do you know this example tricks?

C# by API / System Data

DataSet WriteXml

Java / Data Type

PrintfFormat allows the formatting of an array of objects embedded within a string

Java Book / Thread Conncurrent

0378 Thread sleep

Java Tutorial / Database

Convert a java sql Timestamp Object to a java util Date Object

Python / GUI Tk

Buildin dialogs

Oracle PLSQL Tutorial / Numerical Math Functions

TRUNC(5 75, -1) (2)

Java / Database SQL JDBC

Getting the Stored Procedure Names in a Database

Java Tutorial / XML

DOM helper for root element

Perl / Network

Read the first line from a remote server

VisualBasic Script / Excel

Returns a count of the number of columns in a selection

C# / Language Basics

Using checked and unchecked with statement blocks

JavaScript DHTML / Event

Page load event

Sample Android Codes

Android / User Event

Using MotionEvent

Android / 2D Graphics

Wrapper activity demonstrating the use of {@link GLSurfaceView}, a view that uses OpenGL drawing into a dedicated surface

Android / Date Type

Hex Dump

Android / UI

Demonstrates the use of non-focusable views

Android / Date Type

Utility class for formatting and parsing the various date formats we expect to encounter

Android / Core Class

Fragment Stack

Android / Animation

Multi Property Animation

Android / UI

Show dialog

Android / Core Class

Example of various Intent flags to modify the activity stack

Android / 2D Graphics

Get Texture From Bitmap Resource and BitmapFactory decodeStream

Android / Core Class

Media activity

Android / UI

Get Widget Id

Sample C# Codes

C# / WPF

PenLineJoin Bevel

C# / Development Class

Removes the specified range of characters from this instance

C# / WPF

Format TextBox with MenuItem

C# / Development Class

Decode a sequence of bytes from the specified byte array

C# / GUI Windows Form

Add quotation char to Button text

C# / File Stream

Convert a byte array to string using default encoding

C# / Security

Hash Password

C# / WPF

Get the font in a FontDialog

C# / Development Class

Retrieves all environment variable names and their values from the current process

C# / Class Interface

Convert errflag into a property

C# / WPF

Animated GradientStop Opacity

C# / LINQ

Filtered

Sample Java Codes

Java / Event

Setting Focus Traversal Keys for the Entire Application

Java / Spring

Annotation Component

Java / Event

Use Action class

Java / Collections Data Structure

Generic to list

Java / XML

Get Child Content

Java / Swing JFC

Making Tool Tips Remain Visible

Java / Database SQL JDBC

Creating and using a stored procedure with sun jdbc odbc JdbcOdbcDriver

Java / Development Class

Group separators

Java / Swing Components

Demonstrates sizes

Java / JDK

Retrieving the Supported File Extensions of a Scripting Engine

Java / Servlets

Write to a temporary file

Java / Collections Data Structure

An IdentitySet that uses reference-equality instead of object-equality

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.