Samual Sam has Published 2310 Articles

How do we use a #line directive in C#?

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

215 Views

It lets you modify the compiler's line number and (optionally) the file name output for errors and warnings. Let us see some examples. #line 100 "demo" int a; // CS0168 on line 100 int b; // CS0168 on line ... Read More

What is the difference between a float, double and a decimal in C#?

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

2K+ Views

Float , double and a decimal are all Value Types in C#. Value type variables can be assigned a value directly. They are derived from the class System.ValueType. The value types directly contain data. Float Value Type Float is a 32-bit single-precision floating point type with range 3.4 x ... Read More

Recommended IDEs for C# on Windows/Linux/Mac OS

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

383 Views

The best IDE for C# on Windows is Microsoft Visual Studio. It is an IDE to develop websites, web apps, mobile apps, etc. The following are the features of Visual Studio IDE − Code Editor − Visual Studio has a code editor supporting syntax highlighting and ... Read More

Dynamic Programming in JavaScript

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

3K+ Views

Dynamic programming breaks down the problem into smaller and yet smaller possible sub-problems. These sub-problems are not solved independently. Rather, results of these smaller sub-problems are remembered and used for similar or overlapping sub-problems. Dynamic programming is used where we have problems, which can be divided into similar sub-problems so ... Read More

Underscore(_) in Python

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

661 Views

In Python in some cases we use Single Underscore(_) and some cases we use Double Underscores (__). In Python has following cases, where we use underscore. If we want to store the value of last expression in interpreter. If we want to ignore some values. For declaration of ... Read More

What are the differences between a class and a structure in C#?

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

203 Views

Structure In C#, a structure is a value type data type. It helps you to make a single variable hold related data of various data types. The struct keyword is used for creating a structure. To define a structure, you must use the struct statement. The struct statement defines a ... Read More

Plotting solar image in Python

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

360 Views

In Python provides SunPy package for create solar image. In this package has different files which are solar data of proton/electron fluxes from various solar observatory and solar labs. Using pip install sunpy command, we can install sunpy package. Here we plot a sample AIA image. AIA is ... Read More

Speech Recognition in Python using Google Speech API

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

2K+ Views

The speech recognition is one of the most useful features in several applications like home automation, AI etc. In this section we will see how the speech recognition can be done using Python and Google’s Speech API. In this case we will give an audio using microphone for speech recognizing. ... Read More

Create a Website Alarm Using Python

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

490 Views

In this section we will see how to create the website alarm system using Python. Problem Statement Open a website URL on the browser by taking a website URL and time. When the system time reaches the specified time, the webpage will be opened. We can store different web pages ... Read More

Morse Code Translator in Python

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

3K+ Views

Morse Code Translator is used in Cryptography. It is named by Samuel F. B. Morse. By this technique we convert a message to a series of dots, commas, "-", "/". This technique is very simple. Every alphabet in English signifies a series of ".", ", ", "/", "-". We just ... Read More

Advertisements