Skip to main content

Questions tagged [c#-4.0]

C# 4.0 introduced features like dynamic objects, COM interoperability improvements, generic co- and contra-variance, optional and named parameters. Use this tag if your question specifically pertains to C# 4.0 specific features. The C# tag should be used if your question is not specific to C# 4.0 features.

-1 votes
0 answers
21 views

Creating tables in SQL for C#

I am studying and I want to know for what project I have in college In the C# programming language, when I create a database in SQL, is it possible to create one link table that will link several ...
M L's user avatar
  • 1
-4 votes
0 answers
47 views

Searching and returning a word in a sentence in C# without using any inbuilt string functions [closed]

Find a word in a sentence, both of which are to be entered by the user. Extra spaces in sentence, at the beginning and the end are to be ignored. Extra spaces in sentence and word both, at the ...
Manan 's user avatar
0 votes
0 answers
12 views

when run crystal report i get Error in File temp_.rpt:\nUnable to connect: incorrect log on parameters

I work on crystal report Version 13 . I have main report have multi sub report my issue I get error after add second sub report error in File temp_.rpt:\nUnable to connect: incorrect log on parameters....
ahmed salah abd elaziz elbarba's user avatar
0 votes
1 answer
36 views

How can we generate access token based on some Id along with emailaddress and password

Currently I am working on a task where I need to generate access token for a user based on user credentials(emailaddress and password) and some Id (e.g: subscriptionId ). As per my research there is ...
Sachin Gaikwad's user avatar
-1 votes
0 answers
47 views

Time Optimization

I am solving a question on array manipulation on hackerrank. For a particular problem I write this solution. But this solution was ruled out due to timeout for some test cases. Can anyone help me with ...
Maverik_coder's user avatar
0 votes
0 answers
37 views

Why does a Http Post Request get Queued in IIS Occasionally

I have an ASP.NET Core web application hosted in IIS. This is meant to service clients with certain inventory and online booking. The requests come from a connector application (also designed in .NET ...
Venugopal M's user avatar
  • 2,354
0 votes
1 answer
32 views

Serilog.Sinks.Email Send to pickup directory

Is it possible for serilog to send emails to pickup directory? I don't actually want to send emails right now it's just a POC. Thank you
David's user avatar
  • 5,481
0 votes
0 answers
47 views

Gapping in Dynamically Created User Controls

I am trying to programically/dynamically create some user control, since there will be a variable number of display elements. The following code makes something that looks like this: This looks ...
mygrandclarity's user avatar
0 votes
1 answer
37 views

Get Path from URL in asp.net C#

I want to get the path from URL. In local I am using Request.Url.Authority, which gives me the local path and code works fine, since the URL is localhost. But in UAT and Production website URL is like ...
Rahul Aggarwal's user avatar
0 votes
2 answers
71 views

Sum multiple numbers in C# Form Application [closed]

The function of the form is that if I put a number in the text box and click the add button, the label shows the number. Then, if I put another number in the text box and click the add button, the ...
subramaniyam vithyaban's user avatar
0 votes
1 answer
20 views

How to include the file name and the file extension when using MemoryStream in blazor webassembly

Here is my code getting the file from FileSelectFileInfo public FileSelectFileInfo selectedFile { get; set; } then if there is a selected file, i store it in the variable above private async Task ...
Josh's user avatar
  • 1
0 votes
0 answers
14 views

Projector IPV4 Address from server

how can we get IPV4 address & port of a Projector(BenQ) using C# to make a TCP connection. Can we do it? and my application server is different from Projector. I am trying to achieve it to send ...
kamavaramsudharshan's user avatar
0 votes
1 answer
57 views

Looping if statement if

I am trying to write a "rock paper scisours game" in C#, and I wanted to add a "choose a name screen". namespace Program; public class Program() { static void Main(string[] ...
Burning-Compiler's user avatar
0 votes
1 answer
22 views

General Guidance on How to Copy One Database Row to Another Using Razor Pages

I have an app where the user would like to be able to enter a record for a client and then copy that record to another client. I'm picturing doing this after the record is created and saved. Perhaps ...
MelB's user avatar
  • 173

15 30 50 per page
1
2 3 4 5
1721