Do you know this example tricks?

Oracle PLSQL / Date Timezone

INSERT statement adds a row with the TIMESTAMP keyword to supply a datetime literals

C# / WPF

Paragraph FontWeight

Oracle PLSQL Tutorial / PL SQL Programming

Call user defined function in DBMS_OUTPUT PUT_LINE

VB.Net / Development

Math class

Java Tutorial / Swing

Implement Accessible to make your object accessible

C# / Data Types

Formats the specified size as a string

Perl / Array

Using dereferenced array in foreach loop

C# Tutorial / WPF

Nesting StackPanel

C# Tutorial / ADO Net

Use SqlDataReader to retrieve data in the resultset

VisualBasic Script / Data Type

The Integer data type is the most efficient way of handling numbers from -32,768 to 32,767

MySQL / Regular Expression

Pattern Matching with Regular Expressions

C# / WPF

ProgressBar Demo

Sample Android Codes

Android / Core Class

Returns whether the context is running on the android emulator

Android / Development

XML Resource Demo

Android / Hardware

Get Total Memory Size

Android / UI

Gallery View

Android / Network

Http Downloader

Android / UI

Static text for List view

Android / UI

Horizontally centers the content of the cell

Android / File

InputStream to byte array, copy Reader and Writer

Android / UI

Listening to checked change events

Android / Development

Read setting name list from resource with XmlPullParser

Android / Core Class

Using android os Handler

Android / Network

Using ConnectivityManager

Sample C# Codes

C# / Date Time

Use FromDays(), FromHours(), FromMinutes(), FromSeconds(), FromMilliseconds(), and FromTicks() methods to create new TimeSpan in

C# / Collections Data Structure

Get the array slice between the two indexes

C# / XML

Writes text content

C# / WPF

TextBox with UpdateSourceExceptionFilter handler

C# / Regular Expressions

Is Alpha Numeric With Space by using Regular expression

C# / File Stream

This class provides basic facilities for manipulating temporary files

C# / Collections Data Structure

Dequeue

C# / Network

Is Rooted Url

C# / LINQ

Display Linq result in a DataGridView

C# / XML LINQ

XElement HasElements gets a value indicating whether this element has at least one child element

C# / File Stream

On file created or deleted

C# / ADO Database

Get Column data type and name from DataColumn

Sample Java Codes

Java / JSP

JSP page scope

Java / Reflection

Getting the Field Objects of a Class Object

Java / Reflection

Get all methods including the inherited method Using the getMethods(), we can only access public methods

Java / 2D Graphics GUI

Printing the Java 1 4 Way

Java / Language Basics

Simple demo of exceptions

Java / Hibernate

Save Date Type

Java / Ant

Ant target

Java / XML

Read Xml from InputStream and return Document

Java / Language Basics

Inheriting your own exceptions

Java / Data Type

Java double

Java / Collections Data Structure

Iterate through keys of Java Hashtable

Java / Swing JFC

PopupMenu Sample

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.