TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About Const
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Vijay Kumari (7)
Ajay Kumar (5)
Keyur (4)
Mahesh Chand (3)
C# Curator (3)
Pankaj Kumar Choudhary (2)
Gurpreet Arora (2)
Rajesh VS (2)
Shivam Payasi (2)
Jin Vincent Necesario (2)
Rohatash Kumar (2)
Vithal Wadje (2)
Yogendra Kumar (1)
Sanjay Kumar (1)
Vinoth Arun Raj Xavier (1)
Sanwar Ranwa (1)
Hitanshi Mehta (1)
Jignesh Kumar (1)
Habibul Rehman (1)
Alpesh Maniya (1)
Jejji Singh Arora (1)
Abhishek Khandare (1)
Lynn Walker (1)
Jithu Thomas (1)
Ramasagar Pulidindi (1)
Naimish Makwana (1)
Abhishek Yadav (1)
Mukesh Nailwal (1)
Rion Williams (1)
Yuvapriya P (1)
Akash Varshney (1)
Pritiranjan Rout (1)
Nandan Hegde (1)
Shashangka Shekhar (1)
Matthew Cochran (1)
Praveen Kumar (1)
Aman (1)
Muneer Akhtar (1)
sayginteh (1)
Sandeep Singh Shekhawat (1)
Mukesh Kumar (1)
Pankaj Patel (1)
Scott Lysle (1)
Vishal Yelve (1)
Arjun Panwar (1)
Neeraj Saluja (1)
Chandrakant Upadhyay (1)
Erika Ehrli Cabral (1)
Shweta Lodha (1)
Madhu Patel (1)
Amit Mohanty (1)
Priyanshu Agnihotri (1)
Nitin (1)
Jay Krishnareddy (1)
Venkatesan Jayakantham (1)
John Godel (1)
Vinay Ayinapurapu (1)
Pradeep Shet (1)
Prakash Kumar Sahoo (1)
Code Alone (1)
Bulent Ozkir (1)
Naveed Zaman (1)
Sachin Kalia (1)
Ashish Shukla (1)
Anupam Maiti (1)
Mohit Kala Jain (1)
Uday Dodiya (1)
Mark Pelf (1)
Navin Prakash (1)
Usama Hafeez (1)
Amit Saxena (1)
Ramakrishna Basagalla (1)
Senthilkumar (1)
jinge (1)
Vishnu Prasad (1)
Ashok Kumawat (1)
Related resources for Const
No resource found
Difference Between Const, ReadOnly and Static ReadOnly in C#
3/28/2024 10:38:00 AM.
Common keywords like Const, ReadOnly, and Static ReadOnly are quite confusing. So today we will discuss these keywords and try to understand the difference between Const, ReadOnly, and Static ReadOnly
A Comprehensive Guide to Utilizing the MQTT Protocol
3/26/2024 3:07:06 PM.
MQTT, also known as Message Queuing Telemetry Transport, is a messaging protocol specifically designed for efficient communication between devices in constrained environments. It is particularly usefu
An Overview of C# Static Constructors
3/20/2024 11:28:16 AM.
Static Constructors are a powerful mechanism for initializing static members and performing one-time setup tasks in C# classes.
How Can I Use Imported Constant in Template Section in Vue.js
3/18/2024 8:09:54 AM.
To utilize imported constants in the template section of Vue.js, ensure they're declared within the component's script section. Then, reference them directly within the template for seamless i
Difference Between Var, Let And Const In JavaScript
3/5/2024 9:00:34 AM.
This article will explain the nuances of JavaScript variable declaration with var, let, and const. Explore their scope, hoisting behavior, and mutability. Learn when to use each for flexible and error
Difference Between let, var, and const in JavaScript with Example
3/5/2024 6:44:11 AM.
In this article, I will demonstrate how to use Var, let, and const with examples. The Var, Let, and const keywords are used to declare variables in JavaScript. Choosing the right variable while writin
Mastering Object Creation in C#
3/4/2024 9:30:39 AM.
Learn to create objects in C# step-by-step. Define classes, instantiate objects, access members, use constructors, and explore static constructors—master object creation for robust C# applications.
Understanding the Art of C# Generics
3/1/2024 4:22:06 AM.
Unlock the power of C# Generics with our comprehensive guide. Master best practices, explore advanced scenarios, and elevate your coding skills with this in-depth C# Generics tutorial. Learn to write
How To Validate An Email Address In Java
2/29/2024 9:15:29 AM.
Learn how to validate email addresses effectively in Java using regular expressions. This tutorial provides a comprehensive guide on implementing email validation, covering regex patterns, Java code e
How Can We Get Last Characters Of A String In Java?
2/29/2024 5:07:53 AM.
In this article, we will learn about String in Java Programming Language with examples. Explore the intricacies of Java strings, covering their creation using literals or the "new" keyword.
Mastering Pattern Matching in C#
2/28/2024 5:30:16 AM.
Mastering Pattern Matching in C# provides comprehensive insights into leveraging pattern matching techniques to enhance code readability and efficiency. From type patterns to constant patterns, proper
Android Responsive Login Screen Design using Constraint Layout
2/16/2024 3:24:08 AM.
In this article, I going to explain how we can create a responsive Screen for different android Screens using Constraint Layout.
Limiting Class Instances in C# with Private Constructor
2/6/2024 5:29:53 AM.
Control class instances in C# by using a counter and private constructor. Explore limiting class instances in C# with a private constructor and a counter variable. Control the instantiation and set a
What Are Primary Constructors in C# 12?
1/31/2024 5:15:34 AM.
C# 12 has a number of new features, one of which is Primary Constructors, which offer a simplified and more concise method of constructing objects in C#.
What Is the Difference Between var, let, and const in JavaScript?
1/17/2024 10:18:42 AM.
In JavaScript, var, let, and const declare variables with differences in scope, hoisting, and reassignment. Prefer let and const for better scoping, predictability, and avoidance of common bugs.
What is Primary Constructors in C# 12?
1/3/2024 7:01:30 AM.
Ditch the boilerplate and embrace elegant object creation with C# 12's primary constructors. This feature takes the hassle out of initialization, simplifies member assignment, and clarifies your c
Primary Constructor in C#
12/28/2023 3:30:09 PM.
Learn what primary constructors are in C# and how to use them.
Essential Features of C# 12 You Need to Know
12/28/2023 5:10:38 AM.
Unlock C#'s hidden potential with features that make coding a breeze. Streamlined constructors, effortless collections, and enhanced lambdas await!
Static Constructors in .NET
12/20/2023 11:22:44 AM.
Static constructors in .NET, a special breed in object-oriented programming. Unlike instance counterparts, they initialize once per type, controlling execution order and serving key roles in resource
Understanding Dependency Injection in C#
12/18/2023 5:09:13 AM.
This article explores Dependency Injection (DI) in C#, explaining its types (constructor, property, and method injection) and demonstrating its implementation using a UserService and a SqlUserReposito
Row Constructors in PostgreSQL
12/13/2023 4:27:10 AM.
Explore the power of row constructors in PostgreSQL, enabling efficient row-wise data manipulation. This guide covers syntax, applications in SELECT, INSERT, UPDATE, DELETE statements, and common use
Primary Constructors in C# 12.0
12/8/2023 5:42:20 AM.
C# 12.0 introduces primary constructors, streamlining object initialization with concise syntax. Learn the features, advantages, and best practices for enhanced code readability and maintainability in
Array Constructors in PostgreSQL
12/6/2023 10:52:54 AM.
Explore the robust array feature in PostgreSQL, a powerful tool for storing and managing multiple values in a single column. Learn declaration, input, access, and manipulation techniques.
String Constants in PostgreSQL
12/1/2023 4:49:37 AM.
Delve into PostgreSQL's handling of string constants, which is essential for managing text data. Explore their syntax, handling of special characters, and their versatile use in variable assignmen
Abstract Class and Abstract Methods
11/20/2023 10:41:10 AM.
In this article I will explain abstract class and abstract methods. An abstract class in C# is a class that is declared abstract. It cannot be instantiated on its own; rather, it is meant to serve as
How To Define Variables And Constants In R
11/17/2023 6:28:57 AM.
In this article, I am going to explain about variables and constants in R.
What are Constructors in OOPS?
11/3/2023 8:20:25 AM.
This article provides a clear and concise explanation of their purpose and functionality in object-oriented programming. The code example and the subsequent explanation effectively demonstrate how con
C# 7.0 - Tuples To The Extreme!
10/23/2023 6:05:41 AM.
C# 7.0 - Tuples to the Extreme! A C# tuple is a data structure that has a specific number and sequence of elements. An example of a C# tuple is a data structure with three elements (known as a 3-tuple
Constructors in C#
10/12/2023 6:35:42 AM.
In C#, constructors are essential methods responsible for initializing and creating objects within a given class. These functions are invoked when you create an instance of the class. Constructors sha
Constructor Chaining In C#
10/9/2023 5:26:53 AM.
In this article you will learn about Constructor Chaining in C# language.
Constructor Chaining
10/9/2023 5:06:43 AM.
In this article, I am going to explain to you how to implement constructor chaining in C# Programing. This is one of the most common questions asked in C#.Net interview.
Setting Business Constraint for Uniqueness of a Composite Key in Master Data Services
10/5/2023 7:06:22 AM.
Setting Business Constraint for Unique Combination of Multiple Columns in Master Data Services
Constant VS ReadOnly In C#
9/22/2023 10:34:59 AM.
In this article, we will learn constant and readonly in c#. Here we will discuss the differences. In C#, both const and readonly are used for defining values that cannot be modified after they are ass
Routing in ASP.NET Core
9/18/2023 6:04:20 AM.
In this article, we delve into ASP.NET Core routing, a fundamental component of web applications. Routing determines how incoming requests are matched to specific actions and controllers, playing a pi
C# Object Instantiation: Part I - Constructors
9/18/2023 4:53:54 AM.
There are many ways to approach object instantiation. In this article we'll cover a object instantiation with the constructor method on the class. The constructor is a method with no return type
Primary Constructor is Removed From C# 6.0
9/17/2023 10:55:45 PM.
We can now get a Primary Constructor by using the auto-implemented properties initializer.
Deconstruction In C#
9/17/2023 10:48:34 PM.
In this article, you will learn about Deconstruction in C# 7.0.
Understanding Enums Constants in C#
9/14/2023 7:20:25 AM.
This article explains enum constants in C#. Enums are known as named constants. Enums are strongly-typed constants that make the code more readable and less prone to errors.
Dependency Injection in C# .NET With Examples
9/12/2023 6:57:55 AM.
Discover Dependency Injection in C# .NET: Learn how to achieve flexible, maintainable, and loosely coupled code by decoupling components in your software. Explore constructor, property, and method inj
Static Constructor in C#
9/11/2023 9:48:04 AM.
This article explains the Static Constructor in C#.
Const, ReadOnly And Static Variables In C#
9/10/2023 10:06:01 PM.
C# (C Sharp) is a versatile programming language developed by Microsoft. It offers a rich set of keywords that enable developers to create powerful and efficient applications. Keywords like `class` al
Difference between Const and Readonly
9/10/2023 10:03:06 PM.
In summary, use const for compile-time constants shared across all instances, and use readonly for instance-specific constants that can be set at runtime but remain unchangeable after initialization.
File Class Tutorial in Java
9/5/2023 9:57:19 AM.
In this article, we will learn about the Java File class, its basic methods, and constructors provided by Java programming language.
Instance Constructor in C#
9/4/2023 11:48:57 AM.
In this I am going to explain instance constructors that are used to create an instance of a class and explain the different types of instance constructors
Learn Iteration Statements In C#
8/28/2023 10:40:11 AM.
In this article, we will learn about some iteration statements in C#.Iteration statements, also known as loops, are essential programming constructs that allow you to execute a block of code repeatedl
Private Constructor - C#
8/28/2023 9:38:28 AM.
In this article, you will learn about Private Constructor - C#.In C# and many other object-oriented programming languages, a private constructor is a constructor that is declared with the "privat
Private Constructor in C#
8/28/2023 5:12:34 AM.
Explore Private Constructors in C#: Unveiling Their Roles and Significance. Discover how these constructors influence design patterns like Singleton, control object creation, and encapsulate initializ
Object Initializer in C#
8/24/2023 4:56:28 AM.
What is the Object Initializer in C#. Object initializers is the easiest and fastest way to assign values of an object's properties and fields. An object can be initialized without explicitly call
Passing Data Between Forms Without Events and Delegates
8/23/2023 10:36:02 AM.
This article describes a simplified approach to allowing communication between forms without the use of events and delegates.
Constant Interpolated Strings in C#
8/18/2023 8:17:34 AM.
Explore interpolated strings in C#, a powerful feature for expressive string formatting. Learn about constant interpolated strings introduced in C# 10, enhancing readability and performance. Understan
Types of Functions in JavaScript
8/17/2023 7:16:19 AM.
Explore various JavaScript functions in this article: Named, Anonymous, Arrow, IIFE (Immediately Invoked Function Expression), Higher-Order, and Constructor Functions. Simplified explanations and exam
MySQL Key Constraints
8/10/2023 5:41:42 AM.
In this article we will learn about constraints on different keys.
Stack Class in Java
8/7/2023 10:49:32 AM.
Java Collection framework provides a Stack class that models and implements a Stack data structure. The class is based on the basic principle of last-in-first-out.
Random Class in Java
8/7/2023 9:55:58 AM.
Random class is used to generate pseudo-random numbers in java. An instance of this class is thread-safe. The instance of this class is however cryptographically insecure.
Math Class in Java
8/3/2023 10:34:59 AM.
The java.lang.Math class contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.
Constructors In C#
6/12/2023 12:08:20 PM.
Learn what a constructor in C# is and what constructors in C# work.
Understanding Structures in C#
6/9/2023 6:24:01 AM.
C# Struct, A structure in C# is simply a composite data type consisting of a number elements of other types.
Static Constructor In C# And Its Usages
6/6/2023 10:11:01 AM.
Static constructor is used to initialize static data members as soon as the class is referenced first time. This article explains how to use a static constructor in C#.
OOPS Concepts And .NET - Part One - Classes, Objects, And Structures
6/6/2023 6:50:13 AM.
The following article kicks off a three-part article series that will present definitions and samples for different Object-Oriented Programming concepts and its implementation in .NET.
Consuming Services in ASP.NET Core MVC Controller
6/1/2023 8:56:47 AM.
This article will guide you step-by-step on consuming services in ASP.NET MVC Controller using Dependency Injection
How To Handle Foreign Key Constraints In MySQL
5/9/2023 11:38:04 AM.
In this article, I am going to explain to you the foreign key constraint.
SQL Server Constraints: Types and Usage
5/2/2023 2:46:32 PM.
SQL Server Constraints: Types and Usage
How To Use MySQL Constraints And Understand Their Importance
4/24/2023 10:11:42 AM.
MySQL constraints are rules or restrictions that enforce data integrity and consistency by preventing invalid or inconsistent data from being inserted or updated in tables.
New Features In C# 12
4/22/2023 11:34:16 AM.
We're excited to show you three new features for C# 12:
Concept Of Hoisting And TDZ(Temporal Dead Zone)
4/20/2023 7:03:48 AM.
In this article, I'm going to Explain, how Hoisting and TDZ work in js
How to Use Constraints in SQL Server Like a Pro
3/10/2023 9:35:45 AM.
Constraints are an important tool for maintaining data integrity in SQL Server. In this article, you'll learn how to use constraints like a pro to ensure your data is accurate and reliable. We'
SQL Constraints
3/9/2023 8:23:12 AM.
In this article, we are going to learn about the importance of SQL and its Constraints.
SQL Server Primary Keys
3/6/2023 6:41:21 AM.
Discusses what's a primary key, entity integrity, primary key constraint, composite keys, and the benefits of a primary key.
SQL Server INFORMATION_SCHEMA Views
3/6/2023 5:38:01 AM.
Learning what's INFORMATION_SCHEMA is and showing its common basic usages.
Dynamically Naming the Constraint
2/27/2023 8:49:12 AM.
A constraint is nothing but a condition placed on the column or object. Let's see a small example of creating a Primary Key constraint.
Constructing a DataTable Using C#
2/27/2023 4:49:25 AM.
In this code example, learn how to create an ADO.NET DataTable in C# at runtime using the DataTable class.
Const, ReadOnly and Static Keywords in C#
2/12/2023 3:30:14 PM.
This article will explain some important points about the const, readonly and static keywords in C#.
Readonly and Constant Variables in C#
2/12/2023 2:58:15 PM.
This article will teach C# readonly and C# const variables with code examples.
Constructing OneDrive URL
2/9/2023 5:25:41 PM.
This article explains how to construct a One Drive URL from the email address.
A Complete Java Classes Tutorial
2/7/2023 11:51:21 AM.
Java class is a basic concept of object-oriented programming. Java is an object-oriented programming language, so Everything in java is associated with java classes. In this article, we will learn abo
Dependency Injection (DI) and Inversion of Control (IOC)
2/1/2023 5:38:00 AM.
Inversion of control (IOC) talks about who is going to initiate the call to dependent object where as the Dependency Injection (DI) talks about how one object can acquire dependency.
How To Delete A Column With Default Constraints In SQL Server
1/25/2023 5:19:10 AM.
This article let us know, how to delete a column that has a default constraint in SQL server.
Cascading Referential Integrity Constraint in SQL Server
1/17/2023 9:34:22 AM.
This article will give you an idea of how to use SQL Cascading Constraint and also defines the situations where you can use it.
Find Primary Key, Unique Key, or Foreign Key in a Table and Delete Keys Using SQL
12/21/2022 5:01:34 AM.
Today, we will learn how to find a Primary Key, Unique Key, or a Foreign Keys in a table using SQL and how to delete a primary key, unique key, or a foreign key from a table using SQL.
Passing Const Parameter to Functions in C#/C++/VB Compared
11/23/2022 8:38:00 AM.
Parameter passing to a function is extremely important in all programming languages. The desire to keep the passed parameter intact forced the compiler designers to add various keywords to the program
Learn Object Oriented Programming Using C#: Part 4
11/18/2022 5:31:51 AM.
In this lesson we will discuss various types of constructors in detail.
Few Ways to Prevent Instantiation of Class
11/17/2022 9:05:34 AM.
Let’s go with very interesting facts about oops. There are few ways Stop Instantiation of class.
Dataflow In Inheritance Using C#
9/16/2022 5:58:56 AM.
In this article, I'm going to explain how data flows when we are using Inheritance, this article also helps in making your concept crystal clear about the data flow.
Constructors and Its Types in C#
9/15/2022 5:47:43 AM.
C# Constructor. A C# class constructor is a class method with the same name as the class and is automatically invoked when an instance of the class is created.
Constraints in Generics
9/2/2022 10:18:23 AM.
Constraints are used in Generics to restrict the types that can be substituted for type parameters. Here we will see some of the commonly used types of constraints.
How To Rename Database Objects In SQL Server
8/17/2022 6:37:27 AM.
In this article, you will learn how to rename database objects in SQL Server.
Difference Between Var, Let, Const In JavaScript
8/13/2022 2:06:25 PM.
In this article, you will learn the difference between Var, Let, Const in JavaScript.
Python Constants
8/11/2022 11:40:07 PM.
In this article, you will learn about Python Constants.
C# DataAdapter Returning Exception “Failed To Enable Constraints.”
7/27/2022 8:10:58 PM.
We explain how to debug and get more information on the generic exception, “Failed to enable constraints.”
Var, Final And Dynamic Keywords In Flutter 😎
7/2/2022 5:18:47 PM.
In this article, we will learn about var, final and dynamic keywords it’s more important in dart.
Object-Oriented Programming Simplified With C# And .Net 5
6/28/2022 4:40:35 PM.
This article is about the general concepts of Object-Oriented Programming with examples in c sharp programming language.
Constructor vs Static Constructor
5/9/2022 10:15:18 AM.
This article explains you the basic difference between the constructor and static constructor via example.
Constructors and Destructors in C#.Net
4/5/2022 11:59:23 AM.
Constructors are special methods called when a class is instantiated.
Complete scene of Constructors in C#
3/30/2022 10:11:33 AM.
This article explains about constructors in C#.I have explained with the different scenarios through coding. It covers all the applicable area of constructors in C#
How to: Set read-only fields outside constructors in C#
3/30/2022 9:59:04 AM.
In this article we will see how to set read-only fields outside constructors in C#.
Constructors in C#
3/30/2022 9:45:47 AM.
In this article, I will explain the constructor concept in C# along with practical demonstration which will help you to understand it in a simple way.
How to use C# Constructors
2/23/2022 9:30:01 AM.
This article gives a brief introduction, features of constructors their usage and also an idea of how to use C# constructors.
Garbage Collection in C#
2/8/2022 11:20:24 AM.
In this article I will explain you about Garbage Collection in C#.
Order Of Constructors Calling With Inheritance In C#
1/5/2022 10:27:58 AM.
In this article, you will learn about Order of constructors calling with inheritance in c#.
Constructor And Destructors In C#
1/5/2022 9:14:52 AM.
This detailed article talks about how constructors and destructors work in C# and how to use them in your applications.