Posts

Featured post

How to find the IP Address of user machine using CMD

Image
Today in Engineer's World, we are discussing a topic ofComputer and Network in very easy way. Posted By- +Manish Kumar Gautam+LIVE VIAR+ASP.NET SOLUTIONS
Click imagination hunt to see latest Blogs
Previous - Similarity and difference between LABEL and LITERAL ControlPart-II 
Finding PC IP Address using CMD (Command Prompt) with two simplest methods
In general, we can find our IP Address by our CMD (i.e. Command Line/Prompt) Tool. This blog is all about finding IP Address in very easy way.
There are two commands by which you can able to see your Network Details like Host Name, IP Address, Gateway and many more.
Command-1: [ipconfig] -> this is the basic command by which you can able to see your network basic information like IP Address, Mask, and Gateway.
Command-2: [ipconfig/all] -> by, this command you can see your entire network adapter and its related information include IP Address, Subnet Mask, Gateway, DHCP, DNS, MAC Address and many more.

How to open CMD Tool?

Method 1
Step-1: P…

Simple program

Image
Simple program #2 (Check whether a number is even or odd using ternary or conditional operator)

Number: 5, is Odd.Number: 10, is Even.
The program is written in C# programming language and will accept a number as input. The logic of the program is to find whether the number is even or odd using ternary or conditional operator.
Note: If you are new to C# and Console Application. Try to code First C# Program
Note: Read articles on how to use Loops and Conditions.
Let’s find out a simple and easy way to code the program.
Practical Implementation:
using System;
namespace patternProblem.Simple_program{classSimple2//Checking Even and Odd number using ternary or conditional operator{staticvoid Main(string[] args)

Simple program

Image
Simple program #1 (Check whether a number is even or odd)
Number: 5, is Odd.Number: 10, is Even.
The program is written in C# programming language and will accept a number as input. The logic of the program is to find whether the number is even or odd.
Note: If you are new to C# and Console Application. Try to code First C# Program
Note: Read articles on how to use Loops and Conditions.
Let’s find out a simple and easy way to code the program.
Practical Implementation:
using System;
namespace patternProblem.Simple_program{classSimple1//Checking Even and Odd number{staticvoid Main(string[] args){

Simple program

Image
In this blog, we are going to code simple program that usually asked. Many of us get confused between loops and conditions. And it is also one of the most asked interview questions.

In the table given below, we have listed out various simple programs.
Note: If you are new to C# and Console Application. Try to code First C# Program
Note: Read articles on how to use Loops and Conditions.
Let’s find out a simple and easy way to code these programs.
S.no.Simple Program1.
Source code to check whether a number is even or odd
Number: 5, is Odd.Number: 10, is Even.
Click to view string code