Trending questions in C#

0 votes
1 answer

Converting dd/mm/yyyy formatted string to Datetime

Sounds to me like you need DateTime.ParseExact ...READ MORE

Jul 4, 2022 in C# by krishna
• 2,820 points
14,261 views
0 votes
1 answer

Encapsulation vs abstraction real world example

Encapsulation is a technique for "information concealment," ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
13,312 views
0 votes
0 answers

Convert async Task from c# to vb.net

I'm using a C# to VB.NET converter ...READ MORE

Dec 12, 2022 in C# by Roshan
• 300 points
1,570 views
0 votes
0 answers

Convert VB.NET --> C# Projects

Can someone suggest a suitable program that ...READ MORE

Dec 12, 2022 in C# by Roshan
• 300 points
604 views
0 votes
0 answers

Roslyn: Convert C# to VB

I have a situation where I need ...READ MORE

Dec 12, 2022 in C# by Roshan
• 300 points
477 views
0 votes
0 answers

Object Oriented Programming Basic Concept(C#)

We are aware that the default modifier ...READ MORE

Dec 12, 2022 in C# by Roshan
• 300 points
457 views
0 votes
0 answers

What's the strangest corner case you've seen in C# or .NET?

I have a small collection of puzzles ...READ MORE

Dec 12, 2022 in C# by Roshan
• 300 points
310 views
0 votes
0 answers

Questions every good .NET developer should be able to answer?

Developers for.NET will soon be hired by ...READ MORE

Dec 9, 2022 in C# by Edureka
• 13,620 points
365 views
0 votes
1 answer

Windows Form application on Visual Studio Code?

There is a simpler way to achieve ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
8,133 views
0 votes
0 answers

With arrays, why is it the case that a[5] == 5[a]?

This property of arrays in C is ...READ MORE

Nov 17, 2022 in C# by Ashwini
• 5,430 points
437 views
0 votes
0 answers

How do I determine the size of my array in C?

How do I figure out my array's ...READ MORE

Nov 16, 2022 in C# by Ashwini
• 5,430 points
323 views
0 votes
0 answers

Why does one use dependency injection?

I'm making an effort to comprehend dependency ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
505 views
0 votes
0 answers

C# code works in Visual Studio 2019 but not in online compiler

I'm taking tests online. The code runs ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
456 views
0 votes
0 answers

Rich Text Editor on a web page

May somebody lead me in the correct ...READ MORE

Sep 27, 2022 in C# by krishna
• 2,820 points
413 views
0 votes
0 answers

C# Potential Interview Question…Too hard?

Determine which Foo method will be invoked ...READ MORE

Sep 27, 2022 in C# by krishna
• 2,820 points
395 views
0 votes
0 answers

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

The following is my classes class MyDate { ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
433 views
0 votes
0 answers

What is the difference between C# and .NET?

Could you please explain the distinction between ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
394 views
0 votes
0 answers

Compiling New C# Versions (C# 7.0 Higher) From The Command Line

I encounter the following issue and/or warning ...READ MORE

Sep 27, 2022 in C# by krishna
• 2,820 points
328 views
0 votes
0 answers

oops concept query

This is my oops query. This is my ...READ MORE

Sep 27, 2022 in C# by krishna
• 2,820 points
303 views
0 votes
1 answer

Reading a key from the Web.Config using ConfigurationManager

Instead of any other thing, use the ...READ MORE

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

What are the differences between C, C# and C++ in terms of real-world applications?

As the title states, what are the ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
295 views
0 votes
0 answers

Origin of the C# language name

Programmer in C and C++, currently attempting ...READ MORE

Sep 20, 2022 in C# by Edureka
• 13,620 points
433 views
0 votes
0 answers

Rich Text Editor on a web page

May somebody lead me in the correct ...READ MORE

Sep 20, 2022 in C# by Edureka
• 13,620 points
401 views
0 votes
1 answer

Adding New Form to Project - Windows Form Application C# (using Macbook)

To add a new form to your ...READ MORE

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

How many files are created when a C program is executed

It depends. Depending on the compiler type ...READ MORE

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

C# DateTime to "YYYYMMDDHHMMSS" format

Use this. It is case sensitive by ...READ MORE

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

How do I specify the exit code of a console application in .NET

Simply put, you can return the exit ...READ MORE

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

How to initialize a list of strings (List<string>) with many string values

Simply remove the () at the end. List<string> ...READ MORE

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

Which design pattern to use for pre-process process and post-process task

You have pre-defined and precise steps to ...READ MORE

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

How to get substring from string containing newlines

If you want to maintain the newline ...READ MORE

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

OOP real world example

This is what I believe. OOP does not ...READ MORE

Jul 4, 2022 in C# by krishna
• 2,820 points
985 views
0 votes
1 answer

C# class without main method

Not every single class need the main ...READ MORE

Jul 7, 2022 in C# by krishna
• 2,820 points
891 views
0 votes
0 answers

Convert XML String to Object

I'm getting XML strings over a socket ...READ MORE

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

Logging DML operations in ASP.NET MVC project

There are several options. You might register an ...READ MORE

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

array of string with unknown size

Is there a specific reason why an ...READ MORE

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

Monaco Editor (react) with extended C# intellisense

To load certain code-files, I'm using the ...READ MORE

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

How can I compile and run c# program without using visual studio

If you have.NET Framework v4 installed, then C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe ...READ MORE

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

What is typing discipline

Wikipedia's typing discipline relates to the type ...READ MORE

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

How to add a gridview to a C# winforms project with a list of objects as the datasource

In Visual Studio 2015 community, I'm creating ...READ MORE

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

Use of interfaces, practical and real world example

I've been attempting to figure out what ...READ MORE

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

What is the best C# to VB.net converter

Telerik has a solid SharpDevelop-based converter that ...READ MORE

May 30, 2022 in C# by rajiv
• 1,620 points
1,572 views
0 votes
1 answer

Certifications for C# Developers

Try this link: https://docs.microsoft.com/en-us/learn/certifications/browse/?resource_type=certification Here you can see ...READ MORE

Jul 4, 2022 in C# by krishna
• 2,820 points
553 views
0 votes
1 answer

How and when to use ‘async’ and ‘await’

The compiler creates a state machine in ...READ MORE

Jul 4, 2022 in C# by krishna
• 2,820 points
529 views
0 votes
1 answer

Awesome ASP.NET and C# tutorials for beginners

Go here https://dotnet.microsoft.com/en-us/learn/aspnet They have some nice tutorials ...READ MORE

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

Pass Method as Parameter using C#

In .NET 3.5, you can utilize the ...READ MORE

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

How to send email in ASP.NET C#

You can try this using Hotmail like ...READ MORE

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

How to force overriding a method in a descendant, without having an abstract base class

This is my code using System; using System.Collections.Generic; using System.Linq; using ...READ MORE

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

I don't understand inheritance with base classes

If you just want to keep a ...READ MORE

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

ASP.NET Web API Connecting to MySQL Database

I'm new to C# and.Net programmes, but ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
932 views
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
640 views