In this video, You Will Learn :-
1. Reading from the console
2. Writing to the console
3. Two ways to write to console a) Concatenation b) Place holder syntax -- Most preferred
Code samples used in the demo
using System;
class Program
{
static void Main()
{
// Prompt the user for his name
Console.WriteLine("Please enter your name");
// Read the name from console
string UserName = Console.ReadLine();
// Concatenate name with hello word and print
Console.WriteLine("Hello " + UserName);
//Placeholder syntax to print name with hello word //
Console.WriteLine("Hello {0}", UserName);
}
}
Please note that C# is case sensitive language.
By:-
kudvenkat
C# Tutorial - Reading and writing to a console Part 2- Complete C# Steb By Step Tutorials For beginners and intermediate programmers.
In this video, You Will Learn:-
1. Basic structure of a C# program.
2. What is a Namespace.
3. Purpose of Main method.
Sample program used in the demo
// Namespace Declaration
using System;
class Pragim
{ public static void Main() { // Write to console Console.WriteLine ("Welcome to PRAGIM Technologies!"); }
}
The namespace declaration, using System, indicates that you are using the System namespace. A namespace is used to organize your code and is collection of classes, interfaces, structs, enums and delegates. Main method is the entry point into your application.
By:-
kudvenkat
C# Tutorial - Introduction Part 1- Complete C# Steb By Step Tutorials For beginners and intermediate programmers.
Many developers are confused between Abstraction and encapsulation. If you see the definitions Abstraction means show only what is necessary and encapsulation means hide complexity which looks almost one and the same. In this video we will try to unlead practically the difference between Abstraction and Encapsulation.
By:-
.NET Interview Preparation videos
OOP interview questions :- What is the difference between Abstraction And Encapsulation
In 4.5 hrs you will learn all the important concepts of C# and Object Oriented Programming, each explained using small simple programs. The teaching method used, will be the easiest way to learn C Sharp, that you will ever find.
By:-
Patrick WashingtonDC
C# programming tutorial - Step by Step -Learn .Net Online Easily
By:-
tutorialaspnet
Asp.Net Tutorial for Beginners
beginners learn .net and c# (csharp) in 60 days -lab 2 (day 1 to day 18)
Learn .NET and c# (Csharp) in 60 days - Lab 5 (Day 1). In this beginners video we will try to understand how to use IF conditions , return statements and exception handling.
Beginners Learn .Net and c# (csharp) in 60 days -Lab (day 1 to day 18)
Learn .NET and c# (Csharp) in 60 days - Lab 1 (Day 1). In this beginners video we will create a simple hello world programme using c#,Visual studio and .NET. For more such videos visit http://www.questpond.com
(Beginners) Learn .NET and c# (Csharp) in 60 days - Lab 1 (Day 1)
Subscribe to:
Comments
(
Atom
)