Trending questions in C#

0 votes
1 answer

What does the extension method do in c# and why do you need it

Extension Methods allow you to add additional ...READ MORE

Jun 21, 2022 in C# by krishna
• 2,820 points
649 views
0 votes
1 answer

What is the difference between a field and a property

The internal workings of a class should ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
637 views
0 votes
1 answer

How to find the extension of a file in C#

Go to here https://docs.microsoft.com/en-us/dotnet/api/system.io.path.getextension?redirectedfrom=MSDN&view=net-6.0#System_IO_Path_GetExtension_System_String_ string myFilePath = @"C:\MyFile.txt"; string ext ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
636 views
0 votes
1 answer

Questions every good .NET developer should be able to answer

I have this great link for answers related ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
583 views
0 votes
1 answer

What are some lightweight editors for C#

Use this link http://linqpad.net/ For me, this is better ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
767 views
0 votes
1 answer

How abstraction and encapsulation differ

They are, in my opinion, slightly different ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
888 views
0 votes
1 answer

Solid Principle examples

I am not a specialist like others, ...READ MORE

Jun 14, 2022 in C# by jyoti
• 1,240 points
736 views
0 votes
1 answer

Object Oriented Programming Basic Concept(C#)

Use this link https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers protected internal: The type or ...READ MORE

Jun 17, 2022 in C# by jyoti
• 1,240 points
658 views
0 votes
1 answer

How to quickly code and run small C# code

I personally use this LINQPad for this. ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
524 views
0 votes
1 answer

Are these interview questions too challenging for beginners?

As a new employee, I would expect ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
804 views
–1 vote
1 answer

Examples of GoF design patterns in .net

I am attaching some links. Go through ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
550 views
0 votes
1 answer

C++ interview preparation

I am assuming that this phone interview ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
553 views
0 votes
1 answer

Are there any suggestions for developing a C# coding standards / best practices document

I would ask you to start out ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
499 views
0 votes
1 answer

How do I turn a C# object into a JSON string in .NET

Newtonsoft.json can be used to accomplish this. ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
714 views
0 votes
1 answer

What is cool about generics, why use them

Okay. For simplification, I am listing it ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
494 views
0 votes
1 answer

When to use abstract classes

When you need a class for inheritance ...READ MORE

Jun 17, 2022 in C# by jyoti
• 1,240 points
569 views
0 votes
1 answer

Why isn't Array a generic type

They basically copied the concept of arrays ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
479 views
0 votes
1 answer

What is LINQ and what does it do

LINQ or Language Integrated Query may refer to: a ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
477 views
0 votes
1 answer

When should you use C# indexers

First, let's talk about indexer. Class (or struct) ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
435 views
–1 vote
1 answer

Sound chords in C#

I am attaching this link for DirectSound ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
468 views
0 votes
0 answers

How Convert VB Project to C#

I have a VB project that has ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
722 views
0 votes
1 answer

Encapsulation of subclasses from a constructor in C#

If you think about it in terms ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
707 views
0 votes
1 answer

Is there an official logo of C#

There isn't an official logo, as far ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
632 views
0 votes
1 answer

How to practice a language like C#

I believe you should begin with personal ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
628 views
0 votes
1 answer

Music major scale converter

I believe I know what you're looking ...READ MORE

Jun 14, 2022 in C# by krishna
• 2,820 points
606 views
0 votes
1 answer

Examples of dynamic polymorphism in c#

Check the example of polymorphism below. We ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
856 views
0 votes
1 answer

Beginners book for .NET and C#

It depends on how proficient you are ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
438 views
0 votes
1 answer

C# or operator

This is interesting. So, there are two ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
394 views
0 votes
1 answer

First C# program with two Classes. Confused

I figured out where your problem is Craps ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
431 views
0 votes
1 answer

Print Pdf in C#

Using an installed Adobe Reader or any ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
829 views
0 votes
1 answer

How to implement SOLID principles into an existing project

It will be a lengthy procedure. You ...READ MORE

Jun 14, 2022 in C# by krishna
• 2,820 points
566 views
0 votes
1 answer

How to convert JSON text into objects using C#

To make a class out of a ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
556 views
0 votes
0 answers

Associativity of operators

The following is taken from the C# ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
622 views
0 votes
0 answers

Fiddler doesn't capture traffic from my C# app

I've tried Fiddler with Fiddler2 and Fiddler4, ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
590 views
0 votes
1 answer

Comparison of C++ STL collections and C# collections

This is what I know Array - C ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
640 views
0 votes
0 answers

Best way to reverse a string

I recently had to develop a string ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
579 views
0 votes
0 answers

What is a jagged array?

In C#, what is a jagged array? ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
560 views
0 votes
0 answers

Compress existing PDF using C# programming using freeware libraries

I've been looking for ways to compress ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
557 views
0 votes
0 answers

Creating a generic method in C#

I'm attempting to integrate several comparable techniques ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
554 views
0 votes
1 answer

When would you use delegates in C#

Delegates come in handy for a variety ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
544 views
0 votes
0 answers

Declaring Thread in a Constructor in C#

I'm learning about threads and how to ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
541 views
0 votes
1 answer

Simple VB or C# questions for an interview

The difficulty with asking language-specific questions for ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
461 views
0 votes
1 answer

What is the difference between C# and .NET?

C# is a programming language, and.NET refers ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
684 views
0 votes
1 answer

How to enumerate an enum

foreach (Suit suit in (Suit[]) Enum.GetValues(typeof(Suit))) { } Note that ...READ MORE

Jun 14, 2022 in C# by jyoti
• 1,240 points
426 views
0 votes
1 answer

What does the '=>' syntax in C# mean

Here's a simple MSDN example. delegate int del(int ...READ MORE

Jun 14, 2022 in C# by krishna
• 2,820 points
426 views
0 votes
1 answer

Why should I avoid using Properties in C#?

Jeff dislikes properties because they resemble fields, ...READ MORE

Jun 7, 2022 in C# by rajiv
• 1,620 points
651 views
0 votes
1 answer

What extensions are there for generated C# files

This is by no means complete, but ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
590 views
0 votes
0 answers

How to create dependency injection for ASP.NET MVC 5

It's simple to create Dependency Injection using ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
515 views
0 votes
1 answer

Switch case: can I use a range instead of a one number

To categorise your switch circumstances, I would ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
426 views
0 votes
1 answer

Datatypes in C#

You might be beginner I think. Go ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
539 views