Posts

FUNCTION PARAMETER / /USER INPUT PARAMETER/ FUNCTION WITH IN A FUNCTION CONCEPT/

 FUNCTION PARAMETER:- -parameter is special type of variable used in function(). -there are some types of parameter used in function(). 1) receiver parameter-(at the time of function creation) 2) sender parameter -(at the time of function calling (access)) 1) receiver parameter- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FUNCTIONPARAMETER {     class Program     {         void input(int a)//receiver parameter          {             Console.WriteLine(a);                     }         static void Main(string[] args)         {             Program p1 = new Program();             p1.input(20);//sender parameter             Console.Read...

Function / How to create a function / Type /how to access function/ Access function with object

 Function:-(most important) -Function is a small job program  Function terminologies:- function separator() eg- display() *How to create a function :- Syntax:- type functionName() { } - Type:- -Type is representing types of function (int , string, double) -by default all function is to be created void type eg- void display() {    } void show() {     } Note:- All function is to be created before the main body using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace function {     class Program     {         // create a function         void display()         {             Console.WriteLine("welcome");         }         static void Main(string[] args)         {         }     } } *How to access f...

flow management:- While loop/*Do while loop/for loop/

 2) flow management:- *While loop:- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace While {     class Program     {         static void Main(string[] args)         {            int i=1;            while(i<=10)            {             console.WriteLine(i);               }             Console.ReadKey();         }     } } *Do while loop:- -Exit loop  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace doWhile {     class Program     {         static void Main(string[] args)         {     ...

C# PROGRAM MANAGEMENT/ 1) condition management

 C# PROGRAM MANAGEMENT:- -there are two types of management  1) condition management 2) flow management 1) condition management:- -if else statement -else if statement -switch case statement 2) flow management:- -while loop -do while loop -for loop -for each loop 1)CONDITION MANAGEMENT:- IF ELSE STATEMENT:- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IFELSESTATEMENT {     class Program     {         static void Main(string[] args)         {             int age;             Console.WriteLine("Enter your age");             age = int.Parse(Console.ReadLine());             if (age>18)             {                 Console.WriteLine("vote");   ...

C# VARIABLE:-

 C# VARIABLE:- -variable is name of location where user can store different type date element. -there are following types of variables used in c#:- 1)numerical variable - int 2)decimal variable  - double 3)character variable - char 4)string variable - string  5)boolean variable (true/false)- bool/boolean EXAMPLE:- int a; double b; char c; string city; bool a; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Basicvariable {     class Program     {         static void Main(string[] args)         {             int a = 10;             Console.WriteLine(a);             Console.ReadKey();         }     } } 2) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; na...

C-SHARP DAY 1

 Dot net application development:- 1)In .net framework developed all application with the help of c# programming  C# programming language:-  1)c# programming is used to support application development environment  2)c# is provide pre statement facility  3)the extension of c# programming (.cs) How to create first c# application in .net framework :- 1)open .net framework  2) click file menu -> click new option -> click project option  -> select visual c# -> select console app(.net framework) -> write ur project name(without space) -> click browse button -> select ur folder -> click on ok  using System;  using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BasicProgramme3 {     class Program     {         static void Main(string[] args)         {         }     } } -using is r...

CSS:- (CAS CADING style sheet)

 CSS:- html:- (only for designing concept) JavaScript:- (event handling concept) CSS:- (page arrangement)    CSS:- (CAS CADING style sheet) (cas cading style sheet) 1. cas cading:- - cas cading is process for code sharing approche. 2.style- attributes (height,width,etc.) 3.sheet-file. - css is collection of attributes (height,width,color,) - css can not used (<>)tag symbol. - html attributes is used to (=) operators. - css attributes is used to (:) operators. EX.    html- height="100"    css- height:100;     - all numerical element in css is used to (px) symbol.   EX.      height:100px; - In html file is called page.(about,contact,etc) - In Css the file is called (sheet). - types of CSS:-      1-Internal CSS   2-External CSS   3-Inline CSS   4-cross CSS 1) INLINE CSS:- - inline CSS is directly used with Tag(<>). -css is representing style attributes. SYNTEX:-  <tagname styl...