Archive for September, 2010

Static Constructors

Posted: September 27, 2010 in Tips
Tags: ,

Salam Alikom, A static constructor executes once per type, rather than once per instance (Like Instance Constructors). A type can define only one static constructor, and it must be parameterless and have the same name as the type: class Test { static Test() { Console.WriteLine (“Type Initialized”); } } The runtime automatically invokes a static [...]

Optional and Named Paramters

Posted: September 27, 2010 in C# 4.0
Tags: , ,

Salam Alikom, Optional Paramters: A parameter is optional if it specifies a default value in its declaration: void Foo (int x = 23) { Console.WriteLine (x); } Optional parameters may be omitted when calling the method: Foo(); // 23 The default argument of 23 is actually passed to the optional parameter x—the compiler bakes the [...]

Stack VS Heap

Posted: September 26, 2010 in Tips
Tags: , ,

Salam Alikom , The stack and the heap are the places where variables and constants reside. Each has very different lifetime semantics. Stack The stack is a block of memory for storing local variables and parameters. The stack logically grows and shrinks as a function is entered and exited. Consider the following method (to avoid [...]

ADO.NET VS ADO

Posted: September 22, 2010 in My Graduation Project
Tags: , , ,

Salam Alikom , there are differences between ADO.NET and ADO Centered in Data Representation in memory, Number of tables , data navigation & cursors , Data Connections , Data sharing between applications. For further information you can take a look on this Link . You can visit this page to know the benefits of ADO.NET [...]

Salam Alikom, Access.NET has a VBA to VB.NET Compiler to convert VBA Codes to be running on .NET Framework because VBA can’t be ran on .NET Framework, I Used this Article to convert VBA to VB.NET and you should to be aware about these issues: Data Types , Enumerations , Arrays , Dates , Scoping , [...]

Access.NET Tool

Posted: September 21, 2010 in My Graduation Project

Salam Alikom, this is the time to talk about my Graduation Project , it is Access.NET Tool , Actually it’s a one tool from 2 tools … i will talk about the 1st one “Access.NET” : What is Access.NET ? A tool to convert MS Access Project for a given access file into .NET Solution [...]

Queries Processing

Posted: September 21, 2010 in Tips
Tags: , , , ,

Salam Alikom , I will Explain in this post how Query  processing Works .. so i will start with Example: if we have a Database with 2 tables : we will consider that you have a parser to build a tree  From Given Query.. each node in the tree will contains 3 values : 1.Node value: [...]

Salam Alikom , What is NFS Under Construction? NFS is cars racing game, not only Car Racing but also Car Tuning, my game is a simple NFS game  & it’s my First developed Game; it doesn’t have all features that included in Real NFS. It has a Loading mode, Garage Room, Car show Room, Racing Mode. At [...]

Salam Alikom Why we use Serialization ? To persist object data . Steps to serialize Or deserialize : 1. adding these namespaces : using System.IO; using System.Xml.Serialization; 2. Writing [Serializable] before any class that you want to serialize. Ex.: [Serializable] public class ClassName { //class members } *your class should be public *don’t put it [...]

Salam Alikom , If any one likes BI field and he/she likes to know the history of BI … i think this video will help him Salam Alikom