
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 26504 Articles for Server Side Programming

246 Views
In this article we will write a Golang program to create a class inside the module. There are no classes only structs are used in this program which will contain the data fields. A module is a collection of the packages having go.mod file at its root. This file determines the module’s directory. Using Child Struct In this Method, we will write a Golang program to create a class inside the module using child struct, a function createstruct will be created which will be called from another module to print child info. Algorithm Step 1 − Import the package ... Read More

185 Views
In this article, we are going to learn how to demonstrate the argument to block using the user-defined function, iterations, and square of numbers . A block is created using curly braces with a definite begin and end braces. The different operations are performed inside the braces. Algorithm Step 1 − Import the required packages in the program Step 2 − Create a main function and in there create a slice Step 3 − Use a function to pass the argument and print the values with the help of iteration Step 4 − Print statement is executed ... Read More

874 Views
In Golang we can use functions like YearDay and Sub as well as arithmetic operation method to get the current day of the year out of 365. The current time is obtained using the Now function from the time package and YearDay() function is used to obtain the current day of the year out of 365. Method 1: Using YearDay and Sub Functions In this method, the number of days between the current date and start of the year are calculated using currentTime.Sub(start_of_year).Hours() / 24 as well as simple YearDay method. Syntax func Now() Time The Now() function ... Read More

2K+ Views
In this article, we will learn to write a Go language program to convert the local time to GMT using internal functions like Now() Time, LoadLocation()and time.In(). Local time is the time of a particular region which is calculated using position of the sun at noon. The local time is obtained using Now function from the time package whereas the local time is converted to GMT using ln function from the time package. Syntax func Now() Time The Now() function is defined in time package. This function generates the current local time.To use this function, we have to first ... Read More

431 Views
In this Golang article, we will write programs to add two dates. The dates are added using methods like Add(), AddDate(). There are different formats to represent a date. Here, the dates after addition will be represented using YY/MM/DD format. Syntax func (t Time) Sub(u Time) Duration The sub() function in Go is used to get the difference between two dates. In this function the first two parameters i.e., t and u are date values and this function returns the difference between two values in hours, minutes and seconds. time.Parse() This function belongs to the time package. It ... Read More

11K+ Views
Introduction Append means adding information to the already written document. Here, we will be learning to write a C# program to append text to an existing file. As we know file handling is done in C#. In most cases, the file is used to store data. File handling or file management in layman’s terms the various processes such as making the file, reading from it, writing to it, appending it, and so on. Only to Existing Files? Well, as we know appending generally means adding a piece of information to the already written document. But what if the file we ... Read More

918 Views
Introduction In this article we will learn how to write a C# program that uses LINQ parallel query to generate random even numbers. Let's quickly review the language. The C# programming language is basically used to create desktop, internet, and mobile apps. Linguistic Integrated Query, also known as LINQ, is one of the advantages of C#. Developers may quickly access data from a variety of sources, including arrays, collections, and databases. Regardless of the data source, it offers a standard syntax for data queries. As LINQ and SQL share a similar syntax, developers can use and understand them both easily. ... Read More

500 Views
Introduction This article will teach you how to create a C# program that uses LINQ to generate odd numbers in parallel. Let's take a quick look at the language. The creation of desktop, online, and mobile apps generally uses the C# programming language. One of the strengths of C# is Linguistic Integrated Query, or LINQ. Data from many sources, including arrays, collections, and databases, can be rapidly accessed by developers. It provides a common syntax for data queries, regardless of the data source. As the syntax of LINQ and SQL is similar, developers can quickly understand and use them. ... Read More

512 Views
Introduction In this article, we will learn how to write a C# program to find the negative double numbers from the list of objects using LINQ. Let's have a small overview of the language. The C# programming language is frequently used to develop desktop, web, and mobile apps. Working with big volumes of data can be difficult in any programming language. Finding data points that satisfy a certain set of requirements or filtering out specific values is a frequent activity when working with data. The Linguistic Integrated Query (LINQ) feature of C# can be utilised to simplify and improve ... Read More

480 Views
Introduction The topic to learn in this article is writing a C# Program to Find the List of Students whose Name Starts with 'S' using the where() Method of List Collection using LINQ. Language Integrated Query aka LINQ is used to generate queries in C# language. Previously we had to use other relational languages like SQL and XML. It provides more power to the C# language or any other .NET language. The syntax used to query the database in LINQ is the same as that of querying for data stored in an array. Before we proceed further and ... Read More