03 October 2013

What are the advantages of using Visual Studio to the .NET DEVELOPER?


  • Visual Studio offers much advantage to the .NET developers, some most highlighted features is given bellow:
Visual Studio to the .NET developers
Visual Studio to the .NET developers
  • Access to software design and code windows is easier than other IDE available on software development.
  • Have WYSIWYG (What You See Is What You Get) visual design support which facilitate Windows and Web Forms development.
  • Visual studio have auto Code completion support, which allows you to enter code with fewer errors and less typing.
  • Immediate flagging of syntax errors, which allows you to fix problems as they are entered.
  • The same code editor can be used for all .NET languages.
  • It has an integrated debugger, which allows you to debug the code for better software development.
  • Visual Studio helps to develop software rapidly and more easily
  • Third-party tools can be integrated into Visual Studio.
  • It has a Server Explorer features which allows you to log on to servers that you have network access to, access the data and services on those servers.
  • It has integrated build and compiles support which makes the programming life easier.
  • It has drag-and-drop controls support onto your web page.
Visual Studio Professional 2017 - PC Download

What types of applications you can build in C#.NET ?

C#.NET language can be used to develop four types of applications, these are:
  1. Console applications
  2. Windows applications
  3. ASP.NET Web applications
  4. Web services
  1. Console applications: A console application runs in a console window (ie.MS DOS) which provides simple text-based output.
  2. Windows applications: A Windows application runs on a computer desktop. Windows applications such as MS-Word and Excel, Calculator, Paint etc are example of windows application.
  3. ASP.NET applications: ASP.NET applications are developed to run on a web server which is accessible through browsers. ASP.NET technology facilitates the budding of web applications quickly and easily. Dynamic websites like http://www.microsoft.com are good example of ASP.NET applications.
    Web services
  4. Web services:Web services are complex applications that can provide services such as current weather update, product stock status, converts the temperature from Fahrenheit to Celsius and many more.
C in Depth

What is a namespace in programming language?


  • A namespace is a framework for their identifiers (class, methods). 
  • Namespace provide a way of grouping the names that are assigned to elements (class, methods) in a software application so that they don’t conflict with other class, methods names. 
  • Namespaces are heavily used in C# & other OOP language & all .NET Framework classes are organized in namespaces, to be used more clearly and to avoid confusion.

C 7.0 in a Nutshell: The Definitive Reference

What is the .NET Framework ?

  • The (dot net) .NET Framework is a software framework developed by Microsoft. It has a huge number of class libraries which provides:
    .NET Framework
  • User interface, which is used to design for software interface,
  • Database connectivity, used to connect with database
  • Cryptography, used to ensure software security,
  • Web application development, 
  • Network communications and many more facilities on software development.
  • C#, VB, J# etc are the programming language used by software developer with the combination of .NET framework to developed software application.

  • The software applications developed with the dot net framework mainly runs on Microsoft Windows OS. 

  • The most important components of the .NET framework are:
  • CLR (Common Language Runtime), which allows us to compile and execute program.
  • FCL (Framework Class Library), which has a large number of predefined types or classes to use in software development.

C 6.0 and the .NET 4.6 Framework

02 October 2013

What do you mean by CLR of Microsoft .NET framework?

  • CLR stands for Common Language Runtime. 
  • CLR is the component of the .NET Framework developed by Microsoft that allows you to compile and execute applications written in any language (i.e C#, VB) with .NET. 
  • CLR provide the following service to the .NET programming environment:
    Microsoft .NET framework

  • Exception Handling
  • Garbage Collection
  • Thread Management
  • Memory Management
  • Type Safety

30 September 2013

What are the difference between echo() and print() in PHP ?

  • To better understand the difference, you have to know the syntax with example of echo() and print(). Syntax of echo() :
void echo ( string $arg1 [, string $... ] )

  • Example of echo():
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
<?php

    echo ("The quick brown fox.");

    echo "The quick brown fox.";

    $dept_name="HR";

    echo "My department name is :$dept_name";

    echo"<p>

    Another message 1 Another message 2

    Another message 3

    </p>";

    ?>

  • Syntax of print()
int print ( string $arg )

  • Example of print():
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
    <?php

    print("The quick brown fox.");

    print "The quick brown fox.";

    $dept_name="HR";

    print "My department name is :$dept_name";

    print"<p>

    Another message 1 Another message 2

    Another message 3

    </p>";

    ?>

  • echo() is used to output one or more strings print() is used to output a string. 
  • Both echo() and print() are not actually a real function, it is a language construct. 
  • So you are not required to use parentheses with its argument list. 
  • echo() can take more than one parameter when used without parentheses. 
  • print() only takes one parameter. 
  • echo() is not a real function ,so it does not return any value. Though print() is also not a real function, but it will always returns 1. 
  • echo() has a shortcut syntax, this short syntax only works if the short_open_tag configuration setting on php.ini is enabled. 
  • Example of short_open_tag:
1
2
3
4
5
6
7
<?php

    $blog_address="http://shafiq2410.wordpress.com/";

    ?>

    <p>My Blog address is: <a href="<?=$blog_address?>" target="_blank"><?=$blog_address?></a></p>

PHP & MySQL: Novice to Ninja: Get Up to Speed With PHP the Easy Way

How to Comment your code in PHP?

  • PHP supports 'C', 'C++' and Unix shell-style (Perl style) comments. 
  • You may use any style based on your requirements. 
  • Single-Line code comments use C++ Syntax 
  • Multiple-Line code comments use C Syntax 
  • Unix Shell Syntax (Perl Style) is also used for single line comments 
  • Example: Single-Line C++ Syntax
1
2
3
4
5
6
7
 <?php

        // Title: My first PHP code

          echo "This is a PHP program.";

    ?>
  • Example: Unix Shell Syntax
1
2
3
4
5
6
7
 <?php

       # Title: My first PHP code

          echo "This is a PHP program.";

    ?>
  • Example: Multiple-Line C Syntax
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<?php

    /*

    Title: Test Code

    Author: shafiq

    Author URL: http://shafiq2410.wordpress.com

    Email: shafiq2410@gmail.com

    */

    echo "This is a PHP program.";

    ?>
PHP Cookbook: Solutions & Examples for PHP Programmers

Featured Post

How to Write PHP code and HTML code within a same file

A PHP file can have both PHP code and HTML code together. Any HTML code written outside of PHP <?php //php code here… ?> Code is ig...

Popular Posts