Why Python devs should use Pipenv--ONE91
Pipenv, the "Python Development Workflow for Humans" made by Kenneth Reitz somewhat more than a year back, has become the authorit...
Pipenv, the "Python Development Workflow for Humans" made by Kenneth Reitz somewhat more than a year back, has become the authorit...
With all the diverse programming dialects accessible today, numerous associations have becom...
Writing computer programs is about dialects, obviously, yet additionally significantly more. Alongside great dialec...
public static void SendVendorConformed(string ToEmail, string VendorName,string TemplateUrl) { string config_email = "...
HI Folks, In this post, we will learn how to create dotnet web-API project and solution Create Solution Create Web-webapi project Check i...
br /> PDF (Portable Document Format) is a file format that has replicate all the characteristics of a printed document that you...
C# is a computer programming language. C# was created by Microsoft in 2000 to provide a modern general-purpose programming language that c...
Serialization is a process of converting a code to its binary format. Once it is converted to bytes, it can be easily stored and writte...
A Race condition occurs when two threads access the same resource and are trying to change it at the same time. The thread which will ...
Lock keyword ensures that only one thread can enter a particular section of the code at any given time. In the above Example , lock(Ob...
Async and Await keywords are used to create asynchronous methods in C. Asynchronous programming means that the process runs independent...
Different states of a thread are: Unstarted – Thread is created. Running – Thread starts execution. WaitSleepJoin – Thread calls sl...
IsAlive – contains value True when a thread is Active. Name – Can return the name of the thread. Also, can set a name for the thread...
A Thread is a set of instructions that can be executed, which will enable our program to perform concurrent processing. Concurrent pro...
Get and Set are called Accessors. These are made use by Properties. A property provides a mechanism to read, write the value of a priva...
Generics or Generic class is used to create classes or objects which do not have any specific data type. The data type can be assigned du...
Reflection is the ability of a code to access the metadata of the assembly during runtime. A program reflects upon itself and uses the m...
Synchronization is a way to create a thread-safe code where only one thread can access the resource at any given time. Asynchronous cal...
A Publisher is a class responsible for publishing a message of different types of other classes. The message is nothing but Event as dis...
A Delegate that points to more than one method is called a Multicast Delegate. Multicasting is achieved by using + and += operator.
Some of the basic string operations are: Concatenate –Two strings can be concatenated either by using System.String.Concat or by using ...
Regular expression is a template to match a set of input. The pattern can consist of operators, constructs or character literals. Regex...
n Escape sequence is denoted by a backslash (\). The backslash indicates that the character that follows it should be interpreted liter...
A String is a collection of char objects. We can also declare string variables in c#. EX : string name = “C# Questions”;...
An Array class is the base class for all arrays. It provides many properties and methods. It is present in the namespace System.
Properties of an Array include: Length – Gets the total number of elements in an array. IsFixedSize – Tells whether the array is fi...
A Jagged array is an array whose elements are arrays. It is also called as the array of arrays. It can be either single or multiple dime...
A Jagged array is an array whose elements are arrays. It is also called as the array of arrays. It can be either single or multiple dim...
An Array is used to store multiple variables of the same type. It is a collection of variables stored in a contiguous memory location...
finally block is called after the execution of try and catch block. It is used for exception handling. Regardless of whether an except...
Break statement breaks the loop. It makes the control of the program to exit the loop. Continue statement makes the control of the pro...
Converting a value type to reference type is called Boxing . Ex: int Value1 -= 10; object boxedValu...
An Abstract class is a class which is denoted by abstract keyword and can be used only as a Base class. An Abstract class should alwa...
A Destructor is used to clean up the memory and free the resources. But in C# this is done by the garbage collector on its own. Syste...
mReader and StreamWriter are classes of namespace System.IO. They are used when we want to read or write charact90, Reader-based data, re...
C# has System.IO namespace, consisting of classes that are used to perform various operations on files like creating, deleting, opening,...
Exception handling is done using four keywords in C#: try – Contains a block of code for which an exception will be checked. catch – ...
Programmatically, Polymorphism means same method but different implementations. It is of 2 types, Compile-time and Runtime. Compile ...
Abstraction is one of the OOP concepts. It is used to display only the essential features of the class and hides the unnecessary informa...
“Using” Keyword denotes that the particular namespace is being used by the program. For Example, using System . Here System is a name...
They are used to organize large code projects. “System” is the most widely used namespace in C#. We can create our own namespace and use ...
A Virtual method must always have a default implementation. However, it can be overridden in the derived class, though not mandatory. ...
Given below are the differences between a Class and a Struct: Class : Supports Inheritance Class is Pass by reference (reference...
There are four steps in code compilation which include: Compiling the source code into Managed code by C# compiler. Combining the newl...
The different types of class in C# are: Partial class – Allows its members to be divided or shared with multiple .cs files. It is deno...