Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at How to use switch Statement in C# and its our 9th tutorial in C# series. In our previous tutorial, we have seen IF Loop in C# and this switch statement is also a loop but works slightly different than IF loop and it totally depends on your application, which one you want to use.
First we will have a look at How to use switch statement in C# and after that we will also study goto statement, because switch and goto statements are normally used together. So, let's get started with it:
How to use switch Statement in C#
Switch Statement is a loop in C# which takes a variable as a condition, and then creates its different cases and we can deal each case se ...
Hi Fellas! Hope you are getting along with life pretty well. I am back to give you a daily dose of useful information. Today, I'll unlock the details on the Introduction to CR1220. It is known as a lithium coin battery that comes with a high voltage around 3V and encompasses an ultra-compact design, helping you gid rid of the hassle of buying two or three extra traditional batteries, saving both cost and space required to adjust these cells in the relevant devices.
In this post, I'll try to cover each and everything related to CR1220, breaking down its details in simple steps you can get a hold what is this about and how it is used for. Let's dive in and explore everything you need to know about this battery.
Introduction to CR1220
CR1220 is a ...
Hi Folks! I welcome you on board. Today, I am sharing the 2nd
tutorial in the Raspberry Pi 4 learning series. In this post today,
we’ll cover What is Raspberry Pi 4?
Raspberry Pi 4 Pinout, Specs, Projects, Datasheet etc.
Raspberry
Pi 4 is a tiny dual-display single-board computer, developed by
Raspberry Pi Foundation. This foundation has introduced a series of
Raspberry Pi boards to teach computer basics in schools.
With Raspberry Pi 4, you can control two monitors at once. Moreover, it
is incorporated with a quad-core processor that is powerful and comes
with more speed compared to its predecessors.
I suggest you read this post till the end as I’ll cover Raspberry Pi 4
in detail.
Let’s get started.
What is Raspberry Pi 4?
Raspberry Pi 4
is a dua ...
Hi friends, I hope you all are well. In this post, we will talk about scientific notation. Scientific notation is an essential tool that scientists and engineers can use. Archemdies presented the idea of scientific notation in the 3rd century BC. His work and scientific notation ideas are based on the novel of time, known as place value.Scientific notation ideas have evolved over many centuries but are finally represented by Archimedes. In the 16th or 17th century, mathematicians continued to adopt changes in them and invent many other new notable contributions like Rene Descartes who developed algebraic notation. Scientific notation is a way in which we can express large number values in short form in the form of an exponent or a decimal form.Scientific notation not only simplifies the eq ...
According to information published by representatives of the US space agency NASA, the Voyager 2 spacecraft, which is now at a distance of 18 billion kilometers (11 billion miles) from Earth, has reached the outer space. The data recently transmitted by Voyager 2 indicates that it has successfully “pierced” the heliosphere, the protective “bubble” of charged particles and magnetic fields that “envelops” the solar system, protecting its planets from external cosmic radiation.
Let us remind our readers that the Voyager 2 was launched into space on August 20, 1977, 16 days earlier than its twin, the Voyager 1 was launched. Both Voyager mission devices carry identical scientific equipment and a Golden Record gold plate containing various sounds and a ...
Hey Guys! Hope you are doing well. Today, I'll unlock the details on How to Create a Jet Fighter Model In AutoCAD.
The drawings were published on the Internet * and represent several types, 22 cross sections (fuselage forming elements) perpendicular to the longitudinal axis of the fuselage, and a number of additional sections (Figures 1 and 2).
The accuracy of the drawings, of course, is not high, because these are just data for the modelers. We will have to believe this data, take them for truth in the first instance and start creating a digital prototype.
How to Create a Jet Fighter Model in AutoCAD
Where to begin? From converting JPEG to DWG (to increase their self-esteem, this tedious process can be called manual vectorization of vector gra ...
Today's post based on my personal experience so I thought of sharing it with you guys. Today I thought of using PICkit3 for programming PIC microcontroller. Before that, I was using PIC JDM Programmer for PIC , the only reason for switching is the usb port as I want to burn the PIC on my laptop instead of PC, as my laptop don't have serial port. So, I connected PICkit3 with my laptop and tested it with MPLAB and it worked well. But actually the project on which I am currently working demands MikroC (Client's requirement to use MikroC compiler but personally I always prefer MPLAB).
Anyways I thought it wont be much of an issue to connect it but when i practically did that i was kind of surprised, there was no method anywhere (at least i didn't fi ...
Hello students! We hope you are enjoying learning Python, and therefore, we are moving forward with the advanced level of Python. For this, you have to keep in mind that you are moving towards complex codes, and therefore, you have to get ready for expert-level problems. Do not worry, we are not going to leave you alone with these complex codes; rather, we are discussing the amazing and interesting libraries in Python so that your work may be done with the pre-defined codes and applications so you get amazing results by following simple operations and statements. If it is confusing for you right now, do not worry. Have a look at the topics that you will learn about today, and after that, we will move towards the details:
What is meant by a library in programming languages?
List some of t ...
Hello friends, I hope you are doing very well! In today's tutorial, we will set up a simulation environment for Ladder Logic Programming. It's our second tutorial in Ladder Logic Programming Series. In our previous tutorial, we have seen a detailed Introduction to Ladder Logic Programming and we have seen that this programming language is used for PLC controllers.
As PLC is an Industrial Controller, it comes with built-in relays/transistors(with protection circuitry) and thus is quite expensive as compared to microcontrollers/microprocessors i.e. Arduino, Raspberry Pi etc. Moreover, if you are working on a real PLC, you need to do some wiring in order to operate it. So, in order to avoid these PLC issues at the beginning, instead of buying a PLC o ...
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to use Environment Variables in ASP.NET Core. It's our 5th tutorial in ASP.NET Core series. In our Startup.cs file, you must have seen that we have an IF Condition at the start and this IF Condition has IsDevelopment in it.
This condition is actually checking the environment of our web application. So, here we will first discuss them and then will see why we need them. So, let's get started:
Environment Variables in ASP.NET Core
ASP.NET Core has 3 builtin Environments, which decides the Run-time operating environment of the web application, which are:
Development.
Staging.
Production.
In order to set this Environment Variable, we need to ...