Showing posts with label C Sharp. Show all posts
Showing posts with label C Sharp. Show all posts

Desktop Application vs Web Application

1 comments
An Application is a set of instructions to achieve a particular task for end users. An application can be divided into two general classes: Desktop Application and Web Application.

  1. Desktop Application: The application developed to run in a particular system is called Desktop Application.
  2. Web Application: The application developed to run in server system so that it will be run on different client systems is called Web Application or Web-based Applications.

Benefits of a Web Application:


  • A web application is any application that uses a web browser as a client. The application can be as simple as a message board or a guest sign-in book on a website, or as complex as a word processor or a spreadsheet.
  • A web application relieves the developer of the responsibility of building a client for a specific type of computer or a specific operating system. Since the client runs in a web browser, the user could be using an IBM-compatible or a Mac. They can be running Windows XP or Windows Vista. They can even be using Internet Explorer or Firefox, though some applications require a specific web browser.
  • Web applications commonly use a combination of server-side script (ASP, PHP, etc) and client-side script (HTML, Javascript, etc.) to develop the application. The client-side script deals with the presentation of the information while the server-side script deals with all the hard stuff like storing and retrieving the information.
Continue Reading...

What is a Client?

0 comments
The 'client' is used in client-server environment to refer to the program the person uses to run the application. A client-server environment is one in which multiple computers share information such as entering information into a database. The 'client' is the application used to enter the information, and the 'server' is the application used to store the information.
Continue Reading...

C Sharp program to find largest of given 3 numbers

2 comments

using System;

namespace largetOfThreeNums
{
    class Program
    {
        static void Main(string[] args)
        {
            int a, b, c, big;
            Console.Write("Enter First value: ");
            a = int.Parse(Console.ReadLine());
            Console.Write("Enter Second value: ");
            b = int.Parse(Console.ReadLine());
            Console.Write("Enter Third value: ");
            c = int.Parse(Console.ReadLine());
            big = a;
            if (b > big)
                big = b;
            if (c > big)
                big = c;
            Console.WriteLine("Biggest of given 3 numbers = " + big);
            Console.ReadLine();
        }
    }
}
Continue Reading...

Visual Studio Tips and Tricks!

0 comments
Editor’s Favorites
CTRL+SHIFT+B or F7 to build your solution
CTRL+] to jump between matching braces!
The IntelliSense Suggestion Box
CTRL+K+Pit re-opens the suggestion box.
CTRL+J shows only members in the IntelliSense completion list.
Format your Code
CTRL+K+D to auto-format your code
CTRL+K+C to Comment a block of code
CTRL+K+U to Uncomment a block of code
CTRL+E+D or CTRL+E+C or CTRL+E+U
CTRL+M or CTRL+L
will collapse/expand all outlining.
CTRL+M+O or CTRL+M+P to open and close all regions of code.
CTRL+K, CTRL+C/CTRL+U to comment/uncomment a selection.
Debugging
F10, F11Step Over, Step Into a statement
CTRL+ALT+H display the Thread List window.
CTRL+ALT+M display the Memory window.
CTRL+ALT+C
ALT+7
display the call stack window.
ALT+3 display the Watch window
General Keyboard shortcuts
F7Toggles between design and code views.
F9Toggles breakpoint.
F12Go to definition of a variable, object, or function.
Ctrl+Shift+7
Ctrl+Shift+8
Quickly navigate forward and backwards in the go to definition stack.
Shift+F12Find all references of a function or a variable.
Ctrl+M, Ctrl+MExpand and collapse code outlining in the editor.
Ctrl+K, Ctrl+C
Ctrl+K, Ctrl+U

Comment and uncomment line(s) of code, respectively.
Shift+Alt+EnterToggles between full screen mode and normal mode.
Ctrl+IIncremental Search.
Continue Reading...
> Related Posts with Thumbnails
 

Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger