Abstraction allows making relevant information visible and encapsulation enables a programmer to implement the desired level of abstraction. Abstraction can be achieved using abstract classes in C#. C# allows you to create abstract classes that are used to provide a partial class implementation of an interface.
Every Question..What does it mean? Why is this? How it works?
Microsoft .Net (pronounced dot (.) net) may be a package element that runs on the Windows software package.
.Net provides tools and libraries that change developers to form Windows package a lot of quicker and easier.
Microsoft describes it as:".Net is that the Microsoft internet Service strategy to attach data, people,
system and devices through software".I'm Choulla Naresh..!
Friday, August 7, 2020
Thursday, August 6, 2020
how to call web api method in client application c#
HttpClient class provides a base class for sending/receiving the HTTP requests/responses from a URL.
Example.
In this example, I have created a console application.
To call Web API methods from the console Application, the first step is to install the required packages, using the NuGet Package Manager.
Is it necessary to override a virtual method in C#?
C# virtual keyword is used to create virtual methods in C#. A virtual method is a method that can be redefined in derived classes. When a method is declared as a virtual method in a base class and that method has the same definition in a derived class then there is no need to override it in the derived class.a
Tuesday, August 4, 2020
error occurred while configuring nuget package manager
Goto Package console manager and download or restore
And enable the NuGet console manager.
and build
Sunday, August 2, 2020
Why is abstraction needed?
Why abstraction is really important. A summary is one of the key elements of good software design. It helps to round out behavior. When developing with a high level of abstraction, you communicate behavior and execute less.
Thursday, June 18, 2020
Change or remove windows saved passwords
1. Press Windows + R and type explorer shell:::{1206F5F1-0569-412C-8FEC-3204630DFB70} in the Run dialog box, hit Enter key to open Credential Manager snap-in.
2. Choose the credentials you want to remove and click on down arrow icon next to it.
3. Finally, click Remove.
2. Choose the credentials you want to remove and click on down arrow icon next to it.
3. Finally, click Remove.
Wednesday, March 18, 2020
This site can’t be reached error
Open a Command prompt and run these commands
ipconfig /release
ipconfig /all
ipconfig /flushdns
ipconfig /renew
ipconfig /release
ipconfig /all
ipconfig /flushdns
ipconfig /renew
Tuesday, March 17, 2020
How to search particular date records in sql sqerver
select * from tableName where CONVERT(varchar,[Timestamp],3) = '17/03/20' //here timestamp your table column name and data type datetime.
How do I create a SQL table under a different schema
how to create a schema and how to apply schema.
CREATE SCHEMA SchemaName;
or go to expand the database and goto security folder then expand and create the schema.
it will create under the schema.
- here if we create any database it will create under dbo.
we want to create under our created schema
create a table and add primary key and auto-increment
then right-click on properties and change schema. that's it njoy...
CREATE SCHEMA SchemaName;
or go to expand the database and goto security folder then expand and create the schema.
it will create under the schema.
- here if we create any database it will create under dbo.
we want to create under our created schema
create a table and add primary key and auto-increment
then right-click on properties and change schema. that's it njoy...
Monday, March 16, 2020
newtonsoft.json 11.0.2' package requires nuget client version '2.12' or above
Solution:
Update your NuGet Package Manager extension. Go to
Tools->Extensions and Updates
and selectUpdates->Visual Studio Gallery
. Update the NuGet Package Manager extension. Then try to install the package after Visual Studio gets restarted.
Subscribe to:
Posts (Atom)