Tag: .NET

What are the Different Access Modifiers available in .NET?

There are 5 different access modifiers available in .NET Public – The members declared as public is accessible to all. Private – The members declared as private is accessible only within the same type. Internal – The members declared as internal is accessible only with in the same assembly. Protected – The members declared as protected is accessible to the same type or inherited type….

NoSQL Solutions for .NET

Below are list of some the popular NoSQL Solutions available for .NET applications. db4o Redis MemcacheDB RavenDB Lucene.net MongoDB Tutorials you might find interesting:Popular StoriesC Program to delete an element from an arrayC Program to insert an element into an arrayREVIEW – Recover Excel Password with password-find OnlineSenthil-Kumar-B-Posted-by-Senthil-Kumar-B-August-12-2020-CSharp-3-Min-Read-Microsoft-had-released-the-preview-version-of-.NET-5-some-time-back-which-comes-with-C-9-Preview-too.-While-it-is-sti…

What are the Advantages of the ASP.NET MVC Framework ?

ASP.NET MVC has some advantages over the traditional ASP.NET Web Forms development . In this article , we will have a look at some of the advantages of the ASP.NET MVC Framework . What are the Advantages of the ASP.NET MVC Framework ? SoC – Separation of Concerns Separation of Concern is one of the core advantages of ASP.NET MVC . The MVC framework provides…

How to convert a string to integer in C# ?

You can convert a string to integer in C# using the following functions 1. Int32.Parse / int.Parse 2. Convert.ToInt32 3. Int.TryParse() Below is a sample sourcecode demonstrating the usage of the above functions using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string str = “200”; int data1 = Int32.Parse(str); int data2 =…

Verbatim String Literals in C#

C# supports Verbatim String literals which begin with @ followed by the string data and doesn’t have a escape sequences within the string. This might be specially useful when you want to represent the file path . Below is a representation of Verbatim String Literals in C# using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void…

Namespace in C#

A Namespace in .NET is used to organize your code . The Namespace provides a better code readability and helps you understand how the code is arranged . They help you to organize large projects very well. The Namespace is also used to distinguish classes with same same . The Namespace can be nested into another namespace and is references with the keyword “using”. using…