Do you know this example tricks?

C# / File Stream

Returns the path argument adjusted to be relative to the base path Absolute path names will be returned unchanged

Java / Swing JFC

Get Installed Look And Feels

Oracle PLSQL / SQL Plus

Saving SQL Commands to a File

Perl / String

Printf %on, 455

C# / WPF

Handles the MouseDown event on the UniformGrid

Java / Swing JFC

Overriding a Few Default Typed Key Bindings in a JTextComponent

C++ / Algorithm

Use a binary function object to find the midpoints between elements in v3 and v4 and store the results in v5

VB.Net / WPF

GeometryGroup and DrawingImage

PostgreSQL / Postgre SQL

Generate_series demo

C Tutorial / Function

Function prototype

Delphi / Files

Downloading a file from a URL

Java Tutorial / Email

Search the given folder for messages matching the given criteria

Sample Android Codes

Android / Development

Unicode Chart

Android / Hardware

Compass sensor

Android / Development

Utility class supporting the Facebook Object

Android / UI

Set Layout Parameters, Scale Type, background for ImageView

Android / UI

Set ImageView width, height

Android / Date Type

Create Array with Unique Value

Android / UI

Set initial value for DatePicker

Android / UI

Demonstrates using a LinearLayout background to group related TextViews, EditTexts, and Buttons

Android / Date Type

Returns the ISO 8601-format String corresponding to the given duration (measured in milliseconds)

Android / Hardware

Displays the values of the acceleration sensor graphically

Android / Core Class

A custom preference type The preference counts the number of clicks it has received and storesretrieves it from the storage

Android / Network

Read a web page

Sample C# Codes

C# / WPF

DoubleAnimation Loop for 30 seconds

C# / Date Time

Converts DateTimeOffset to string using the specified culture-specific formatting information

C# / XML LINQ

Add an attribute to the root node

C# / XML

Display XML file content to TreeView

C# / Development Class

Parse GUID

C# / Language Basics

Demonstrate params

C# / Date Time

Subtract one DateTime from another you get a TimeSpan

C# / Data Types

Converts a number value into a string that represents the number expressed in whole kilobytes

C# / Reflection

Represents the base class for custom attributes

C# / WPF

BlockThread xaml

C# / ADO Database

How to use the ExecuteScalar() method to run a SELECT statement that returns a single value

C# / Date Time

Create DateTimeOffset using the specified DateTime value

Sample Java Codes

Java / Spring

AspectJ Expression Pointcut

Java / XML

Parse and format xs

Java / Swing JFC

Packing a Column of a JTable Component according to the row data

Java / Database SQL JDBC

Get Table Optimal Set Of Columns

Java / 2D Graphics GUI

Layered Icon

Java / Swing JFC

Filter all editing operations on a text component

Java / SWT Jface Eclipse

SWT Form Layout Sample

Java / Data Type

Format data to string with specified style

Java / Swing JFC

Change border text Justification alignment style

Java / SWT Jface Eclipse

Label Separator

Java / Regular Expressions

Adding Comments to a Regular Expression

Java / Collections Data Structure

Int Array List

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.