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 representing library.

-namespace is representing group of programme.

-class representing object oriented concept.

-mainbody representing all basic programme.


CSHARP STATEMENT :-


1) output statement

2) input statement


-hold output screen.




namespace BasicProgramme4

{

    class Program

    {

        static void Main(string[] args)

        {

            //display welcome

            Console.WriteLine("welcome");


            //hold output screen

            Console.ReadKey();




        }


    }

}


-in dotnet framework all purple color is representing function().


Comments

Popular posts from this blog

HTML FORMS

condition management IF, ELSE, ELSEIF

HTML NOTES