Showing posts with label programming languages. Show all posts
Showing posts with label programming languages. Show all posts

Thursday, June 21

Coming Soon


Dear readers today I started to learn AJAX and jQuery. So far I feel those stuff are very cool and useful to my web development knowledge. When I search for learning material I got stuck several time, so I decided to write some posts after I got learn this stuff. When I write posts I will try to explain coding simple manner. until then you can read basic from w3schools.  



Basic Idea About These Stuff  


AJAX Logo
 AJAX : This is a technology, that involves send/retrieve data asynchronously from a web application to Web-server. Advantage of this technology is we can reload fragment of a webpage. 


jQuery Logo

jQuery : This is a javascript framework that makes working with the DOM easier by building lots of high level functionality that can be used to search and interact with the DOM. Advantage of this framework is we can do Big things by writing small portion of codes. 
 

Wednesday, June 20

Microsoft Visual Studio Tips and Tricks

Sometime this tip will be new to you so try it today, it will help you to develop application rapidly.

Preserve Piece of Code in Microsoft Visual Studio 

This means that, if you have code you want to use in different sections, you can preserve it somewhere to access it whenever necessary. To save code to use over and over again, first type the code in any text editor, whether in Notepad, Microsoft Word, or the Code Editor of Microsoft Visual Studio. You can use code from any document where text can be copied, including a web page. Select that code and copy it to the clipboard. To preserve it, in Microsoft Visual Studio, display the Toolbox (on the main menu, you can click View -> Toolbox). Right-click an empty area on the Toolbox and click Paste.

In the same way, you can add different code items to the Toolbox. After pasting or adding the code to the Toolbox, it becomes available. To use that code, drag it from the Toolbox and drop it in the section of the Code Editor where you want to use it.

Before Past Code
Before Past Code
After Paste Code
After Paste Code
After preserve code in visual studio toolbox you can rename,delete or copy again by right-click on the piece of code.


C# Nullable Types

When you declare a variable, you ask the compiler to reserve a certain area and amount of memory to eventually hold a value for that variable. At that time, no clear value is stored in that reserved area of memory. Instead, the area gets filled with garbage, which value is referred to as null when it cannot be clearly determined. A null value is not 0 because 0 is an actual value.

 In C#, normally, not all variables can hold null values. But if you want to do so you can do it.

There is a tow way of declaring Nullable variables, in here I will mention both ways.   
  

System.Nullable<T> variableName
-Or-
T? variableName 

T is the underlying type of the Nullable type. T can be any value type including struct. It cannot be a reference type.

E.g.:  int? i = null;
  
When you create a Nullable of Int32, it can be assigned any value from -2147483648 to 2147483647 or it can be assigned the null value. 

The Nullable type modifier enables C# to create value-type variables that indicate an undefined value. 
 

Tuesday, June 19

I promise you that you will learn something new every day

Welcome to my blog… It will be great fun to have new reader. I promise you that you will learn something new every day.

The purpose of this blog is to share my knowledge with readers. In this blog you can find posts related many topics, but most will be about Information Technology, programming languages, tips and tricks.