Skip to main content

Posts

Showing posts with the label c#

Web Forms Asp.Net Introduction

Hello azumavengers and welcome to my blog. Today we are going to talk about web forms asp.net. Web Forms Asp.Net Introduction Web Forms Asp.Net Introduction By Codezila  Like our Facebook page, its link is given below Codzila Facebook Page

C# Snippets and Tricks

Hello azumavengers and welcome to my blog. Today we are going to talk about the c#. C# Snippets and Tricks C# Snippets and Tricks Series 1 Part 1 By Codezila  Like our Facebook page, its link is given below Codzila Facebook Page

Variables

Variables You may have been using variables and constants in since your 3rd grade. In any programming language same concept of variables is used which covers more than half of your code. Now is you have worked in C++ or Java or Python or any other programming language you may have used variables. If you are new to programming and you have started with C# its totally OK because you don't need any degree to learn programming. Now what are the variables, to be precise variables are the empty shells which can be filled to their limit and their value can variate with the passage of time as required and manipulated on desire.  Their are few types of variables: Types Examples Integral Types stype, byte, short, ushort, int, unit, long, ulong and char Floating Point Types Floating and Double Decimal Types Decimal Boolean Types True or False value, as assigned Nullable Types Nullable Data Types Declaration Moving on we have some rules for decl...

Hello Codezila C#

Introduciton Printing message is usually our first task while learning a programming language. Just like anyother language C# also provides facility to print messages which is the most vital thing. Now just as C++, Java or Python, C# also has some built in libraries which provide different classes for different approaches. For printing a line we use System namespace which has Console class with function WriteLine(). Lets see an example namespace  HelloWorld {      class   Program     {          static   void  Main( string [] args)         { //to print string we use Console.WriteLine("");              Console .WriteLine( "Hello Codezila" );              Console .WriteLine( "Hello a...

Working with delegates c#

Delegates Delegates are the pointers for the functions. The most amazing part of delegates is that you can point more than one function at a time and can call those functions from just one statement. The sequence of the function calling depends upon the sequence in which one adds the functions to the delegate. Lets see an example. using  System; namespace  deligate {      class   Program     { public   delegate   int   addDeligate ( int  a,  int  b);          static   void  Main( string [] args)         {              addDeligate  d1 =  new   addDeligate (add);              Console .WriteLine(d1(3, 2));         ...