OOPs ? Object Oriented Programming is based on the idea of “objects“. In programming everything is identified as an object and its properties and behaviors to solve a problem. Ex: Chair properties are Type, shape, color, size, width,weight behaviors are changed the width, color, position SOLID ? SOLID is set of of PrinciplesContinue reading “What is the difference between OOPs and SOLID Principle?”
Tag Archives: C#
What is SOLID Principles?
What is SOLID? SOLID are five basic principles which help to create good software architecture. S stands for SRP (Single responsibility principle):- A class should take care of only one responsibility. O stands for OCP (Open closed principle):- Extension should be preferred over modification. L stands for LSP (Liskov substitution principle):- A parent class objectContinue reading “What is SOLID Principles?”
Why to Choose .NET?
1. Productive .NET helps you develop high quality applications faster. Modern language constructs like generics, Language Integrated Query (LINQ), and asynchronous programming make developers productive. Combined with the extensive class libraries, common APIs, multi-language support, and the powerful tooling provided by the Visual Studio family, .NET is the most productive platform for developers. 2. Any app,Continue reading “Why to Choose .NET?”
.NET Core Vs .NET Framework 4.8
.NET Core .NET Core is a cross-platform version of .NET for building websites, services, and console apps. .NET Framework 4.8 .NET Framework is a Windows-only version of .NET for building any type of app that runs on Windows.
C# Programming Language
Introduction to the C# Language and the .NET Framework C# is an elegant and type-safe object-oriented language that enables developers to build a variety of secure and robust applications that run on the .NET Framework. You can use C# to create Windows client applications, XML Web services, distributed components, client-server applications, database applications, and much,Continue reading “C# Programming Language”
Oops Concepts in C#
OOPs Concepts OOP is a technique to develop logical modules, such as classes that contains properties, fields and events. OOP provides many concepts such as inheritance, data binding, polymorphism etc. Object means a real word entity such as pen,paper, chair, table etc. It simplifies the software development and maintenance by providing some concepts: Object Class InheritanceContinue reading “Oops Concepts in C#”
C# Access Modifiers
Encapsulation in Object Oriented Programming C# A software development technique in which each module’s interfaces reveal as little as possible about the module’s inner working and other modules are prevented from using information about the module that is not in the module’s interface specification. What is Encapsulation ? Encapsulation is a process of hiding the members fromContinue reading “C# Access Modifiers”
What is new in C# 7?
Here is an overview of new features in C#: Out variables Pattern matching Tuples Deconstruction Discards Local Functions Binary Literals Digit Separators Ref returns and locals Generalized async return types More expression-bodied members Throw expressions // Out variables // Old way int parsedOld; string parseMeOld = “222224“; int.TryParse(parseMeOld, out parsedOld); Console.WriteLine(parsedOld); // New way stringContinue reading “What is new in C# 7?”
C# Evolution History
Version Year .NET Framework Visual Studio Features C# 1.0 2002 1.0 / 1.1 Visual Studio 2002 Basic Features C# 2.0 2005 2.0 Visual Studio 2005 Generics Partial types Anonymous methods Nullable types Iterators Covariance and contravariance C# 3.0 2007 3.0 / 3.5 Visual Studio 2008 Auto implemented properties Anonymous types Query expressions Lambda expression ExpressionContinue reading “C# Evolution History”
Bing News Search API with C#
This article shows you how use the Bing Search API, part of Microsoft Cognitive Services on Azure. While this article employs C#, the API is a RESTful Web service compatible with any programming language that can make HTTP requests and parse JSON. The example code was written in C# as a .NET Core application, withContinue reading “Bing News Search API with C#”
