We have a tables (SQL Server) which references paths (with specific name/ value), but now the path is going to change. In the path column, we have many records and we need to change just a portion (name/ value) of the path, but not the entire path. And we need to change the same string to the new one, in every record.
How can we do this with a simple update?
We have read about a SQL injection attack where text is inserted and this could be a good way to remove the offending text.
One of the most essential parts of coding in the .NET Framework is "Variable Declaration". In order to understand the importance of this term, we’ll need to explore a few other terms which are fundamental to .NET, and to some extent, programming in general. So, in the next few articles, we’ll be discussing:
"Stack & Heap", "Value types & Reference types" and "Boxing & Unboxing".
The three terms above are related to each other. If we’re planning on talking about Variable Declaration, at the very least we need to know the core concepts of those terms. They all point to a couple of important questions: “What goes into a variable once we declare it?” and “What happens to that variable when we’re done with it?”
The concept of Shadowing is not a part of object oriented programming principle but this keyword is so important with classes & objects in C#. We must know the behaviour of Shadowing in C#.
In Shadowing the parent class element is completely replace by the child class in all terms. But here again the important question: What is the use of Shadowing?
Hello, and first of all a big thanks to all of you who provided comments and feedback on my previous post. It encouraged me to work on this one!
I’d like to discuss a couple of integral concepts in C# 4.0, "Covariance and Contravariance". In order to understand the importance of these concepts and why they exist, we'll need to hop into our time machine and take a look at some code from .NET 3.5.
Importance of "checked" & "unchecked" keyword in C# :-
Today we will discuss the use of "checked" and "unchecked" keywords and try to understand the importance of these keywords in C#.
We will start with some scenario then come to the point. Tell me what is the maximum value of int in C#?
- Console.WriteLine(int.MaxValue); // 2147483647
When we will execute the above code, we will get the maximum value of int in c#. The answer of maximum value of int in C# is "2147483647".
What happen when we try to store more than maximum value into int type variable?
Some days before I installed Visual Studio 2015 in my system. It introduces a completely new version of ASP.Net with include C# 6 language. In previous version they introduced lots of new concept like async and await in version 5, dynamic in version 4, LINQ in version 3 and so on. Now when we talk about C# 6, there are no any major feature changes came with this version, but there are a lots of syntactical improvements which will help you for better coding styles.
1. Primary Constructor & Auto Implemented Properties Initializers
2. Expression Bodied members (Functions and Properties)
3. Getter-only auto-properties:
Today we will try to understand "What exactly is the use of "Yield" keyword and what scenario we should use that?
"Yield" keywords helps to do custom stateful iteration over a collection. The main purpose of "Yield" keyword is Custom iteration & Stateful iteration.
Today we will discuss that how we can use the SweetAlert message in AngularJS. There are some pre-request files need to use this functionality.
We can downlaod & install thses file with multiple way :
2. Install through bower: $ bower install sweetalert
3. Install through NPM: $ npm install sweetalert
When we talk about Object Oriented Programming language, we found some strongly type object avialable in C#, C++ and Java.