Ahamad Basha NSintro-to-c-net-core.hashnode.dev·Dec 12, 2024Jagged Arrays in C#A jagged array is an array of arrays, where each element can have a different length. This flexibility allows you to create arrays with varying dimensions. int[][] jaggedArray = new int[3][]; // Declares a jagged array with 3 rows // Initialize each...C#
Ahamad Basha NSintro-to-c-net-core.hashnode.dev·Dec 12, 2024Single and Multi-Dimensional Arrays in C#Arrays in C# are a fundamental data structure used to store a collection of elements of the same data type. They provide a convenient way to organize and manipulate data. There are two main types of arrays in C#: 1. Single-Dimensional Arrays 📈 A s...single dimensional arrays
Ahamad Basha NSintro-to-c-net-core.hashnode.dev·Dec 10, 2024Write and Read Console1. Console.WriteLine() This method is used to print a specified text or variable value to the console window. Console.WriteLine(value); // Print a message to the console Console.WriteLine("Hello, world!"); // Print the value of a variable ...readkey
Ahamad Basha NSintro-to-c-net-core.hashnode.dev·Dec 7, 2024var and dynamic KeywordsIn-Depth Explanation of var and dynamic Keywords 𝐯̲𝐚̲𝐫̲ ̲🦸̲̲ 𝐚̲𝐧̲𝐝̲ ̲𝐝̲𝐲̲𝐧̲𝐚̲𝐦̲𝐢̲𝐜̲ ̲🦹̲̲ ̲𝐊̲𝐞̲𝐲̲𝐰̲𝐨̲𝐫̲𝐝̲𝐬̲ When you get tired of declaring data types of variables. And you don't want to stress on small things and focus on the...coding tips
Ahamad Basha NSintro-to-c-net-core.hashnode.dev·Dec 6, 2024𝗖# 𝗢𝗽𝗲𝗿𝗮𝘁𝗼𝗿𝘀:Operators are symbols that perform specific operations on operands. They help us manipulate data and perform calculations. C# provides a rich set of operators to manipulate data. 𝗔𝗿𝗶𝘁𝗵𝗺𝗲𝘁𝗶𝗰 𝗢𝗽𝗲𝗿𝗮𝘁𝗼𝗿𝘀: (Addition): Adds two operands...𝗧𝗲𝗿𝗻𝗮𝗿𝘆
Ahamad Basha NSintro-to-c-net-core.hashnode.dev·Dec 5, 2024Variables and Data Types in C#Variables A variable is a named storage location in memory that holds a value. In C#, you must declare a variable before using it. data_type variable_name; Data Types C# has a rich set of data types to represent different kinds of data. 1. Value Type...reference datatypes
Ahamad Basha NSintro-to-c-net-core.hashnode.dev·Dec 3, 2024Road Map to Dot Net Core (Detailed)Level Up Your .NET Core Skills: A Comprehensive Roadmap Master the Fundamentals 📚: C# Fundamentals 🦸♂️: Syntax and Data Types 🔢 Object-Oriented Programming (OOP) 🏗️: Classes, Inheritance 🧬, Polymorphism 🎭, Encapsulation 🔒, Abstraction ☁️ ...C#
Ahamad Basha NSintro-to-c-net-core.hashnode.dev·Dec 3, 2024Diving into the .NET Core and C# World!Diving into the .NET Core and C# World 🚀 Today, we're starting a journey to explore the exciting realm of .NET Core and C#, the powerful tools for building modern applications 🏗️! What is .NET? 🚀 .NET is a powerful and versatile framework 🛠️ deve...C#
Javier Reyesdevconacento.hashnode.dev·Nov 27, 2024Inyección de dependencias con Microsoft.Extensions.DependencyInjection - Conceptos básicosPara mi primer post, he decidido compartir algunos conceptos básicos sobre Dependency Injection en .NET. No entraré en una definición teórica, ya que existen numerosos recursos explicándolo. En su lugar, me centraré en demostrarlo directamente con có...77 readsdotnet
Ejan Shresthaijanggmu.hashnode.dev·Nov 5, 2024How to Install Nginx and Secure Your .NET Application with SSL Using CertbotIn this article, we’ll cover a comprehensive guide to setting up Nginx as a reverse proxy for a .NET application, running it over HTTP initially, and then adding SSL encryption with a free certificate from Let’s Encrypt using Certbot. We’ll also disc...Docker