App Installs

Monday, 22 January 2018

January 22, 2018 0
An object in C#:



The object is the way to access the property. the class is the blueprint and object that type of class.function are all activity and property are like human property (name, age, contact number e.t.c.)

In another way, an object is the instance of the class that occupies the space for storing the data in a block. we can create multiple types of same class means the same blueprint. 

Sunday, 21 January 2018

Class in c#

January 21, 2018 0
What is Class in C#

A class is a base of any oop's language. without class, you can't run any program or application. In another language, a class is a blueprint of an object that contains fields, property, function  abstract function

If we will compare with real life then we all are person class object. the person is the basis of every person. Like a person can be a housewife, a person can be businessman e.t.c.

    public class Student
    {
        public int Name { get; set; }
        public int Age { get; set; }
        public string Gender { get; set; }
        public string Address { get; set; }
        public string Quelification { get; set; }
    }



Free Free Free | Free Domain + Free Hosting for Wordpress Website

January 21, 2018 0
HI, Friends

This is my first video on How to Create A Free Website  with Free domain and free web hosting. through this video you can create wordpress website in few minutes

Thanks you


Free Domain Name website Url:-

http://www.freenom.com/en/index.html?lang=en


Free Hosting Space Website url :-
https://infinityfree.net/


Please like this video subscribe this video and share this video


Saturday, 20 January 2018

Hello World program

January 20, 2018 0
Hello World program
 Write a C# Sharp program to print Hello:-

namespace ConsoleApplication
{
    class HelloWorldProgram
    {
        static void Main(string[] args)
        {
            System.Console.Write("Hello World");
            System.Console.Read();
        }
    }
}

Result: Hello World 

Friday, 19 January 2018

OOP

January 19, 2018 1

Object-oriented Programming


OOP(Object-oriented Programming) is a structure of program where programs are organized objects. in point of fact, this is a design philosophy that User a different sets of programming languages such as c#, java and other.For more understanding, you should know how to design an application and what language you should use. I have selected c# for this 



In OOP everything is "Object" if we create any program or an application. everything is set of the object which contains a data.





Following are the features of OOP:


  1. Class
  2. Object
  3. Inheritance
  4. Encapsulation
  5. Abstraction :- Abstract Class/Method
  6. Polymorphism
  7. Attributes
  8. Method:- Virtual Method
Class: A class is a base of any oop's language. without class, you can't run any program or application. In another language, a class is a blueprint of an object that contains fields, property, function abstract function. for more


Object: The object is the way to access the property. the class is the blueprint and object that type of class.function are all activity and property are like human property (name, age, contact number e.t.c.) For More

Type-Safe

January 19, 2018 1

Type-Safe Exapmle:-



If you Run this Code you will get compile time error

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sample
{
    class Program
    {
        static void Main(string[] args)
        {
            //Created integer type veriable and assigned 1 
            int num1 = 1;

            //Created string type veriable and assigned 2
            string num2 = "2";

            //Calling method and print the addition of two number
            Console.WriteLine($"Sum Of Two Number : {SumOfTwoNumber(num1, num2)}");
        }


        /// Method addition of two number
        public static int SumOfTwoNumber(int number1,int number2)
        {
            return number1 + number2;
        }
    }
}

Result :cannot convert from 'string' to 'int'

After change the num2 data type

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sample
{
    class Program
    {
        static void Main(string[] args)
        {
            //Created integer type veriable and assigned 1 
            int num1 = 1;

            //Created int type veriable and assigned 2
            int num2 = 2;

            //Calling method and print the addition of two number
            Console.WriteLine($"Sum Of Two Number : {SumOfTwoNumber(num1, num2)}");
        }



        /// Method addition of two number
        public static int SumOfTwoNumber(int number1,int number2)
        {
            return number1 + number2;
        }
    }
}


Result : Sum Of Two Number : 3

Thursday, 18 January 2018

C# tutorial

January 18, 2018 0
is a well-looking and type-safe oop (Object orientated language). It allows for developers to build a verity of application and other application like windows, console, web application, services, android e.t.c. That application runs on .net framework.


Following are the Advantages of C# language:-
  • Modernized language
  • Type-safety
  • Object-oriented
  • structured language
  • Simplified syntax
  • XML comments
  • Not just Microsoft
  • All about components
  • Cross-language capabilities
  • It might be worth more

1.Modernized language (Why C# is a modernized language):
If you know only c language. You can directly come to this language. because this language is very similar to c++ or you can easily learn.this language is very similar to java, c++. you know both languages you can easily code in this.

2.Type-safe (Why C# is type-safe language):
C# is a type-safe language.because it is identifying the type. Type is an object type or value type at compile time. If you are writing a code and while coding you have created integer type variable and you are passing a string in the same variable then compiler will show you an error at compile time. because of this reason, C# language called type-safe language

Example:- You can see in image 



3.Object-oriented(What is Object-oriented in c#):
OOP(Object-oriented Programming) is a structure of program where programs are organized objects. in point of fact, this is a design philosophy that User a different sets of programming languages such as c#, java and other.For more understanding, you should know how to design an application and what language you should use. I have selected c# for this

In OOP everything is "Object" if we create any program or an application. everything is set of the object which contains a data.

For More details...click

Following are the versions of c# language:-
  • C# 1.0.NET framework 1.0,1.1 , CLR version 1.0, Visual Studio 2002.
  • C# 2.0 .NET framework 2.0 , CLR version 2.0, Visual Studio 2005.
  • C# 3.0 .NET framework 3.0,3.5 , CLR version 2.0, Visual Studio 2008.
  • C# 4.0 .NET framework 4.0 , CLR version 4.0, Visual Studio 2010.
  • C# 5.0 .NET framework 4.5 , CLR version 4.0, Visual Studio 2012,2013.
  • C# 6.0 .NET framework 4.6 , CLR version 4.0 ,Visual Studio 2013,2015.
  • C# 7.0 .NET framework 4.6,4.6.1,4.6.2 , CLR version 4.0, Visual Studio 2015, 2017 
  • upcomming....