c# tag

485 questions


1 answers
32 views
0
If you want to attach it to a list item (not .Add)

Syntax question for C#.If you want to add a number (variable converted to string) to each item in the foreach statement about the list box, .Insert does not seem to work.What's wrong?Is there any othe...

c#
2 years ago

1 answers
77 views
0
What if Unity uses place mapping?

Let me ask you a few questions.If Unity uses place mapping, how is it implemented?I don't mind the outline of one example, but if anyone understands, could you please let me know?What I am particularl...

2 years ago

1 answers
35 views
0
If you type only spaces in the form and press Enter, it crashes.

C# creates an input form that only works with URLs.if(e.Key==Key.Enter&!String.IsNullOrEmpty(txtUrl.Text)){ wbSample.Navigate(txtUrl.Text);}The above code features are available in ·When a user en...

c#
2 years ago

1 answers
115 views
0
Using DLLs with Parallel Pattern Library (PPL) from C#

As stated in the title, I would like to use DLLs using parallel pattern library (PPL) from C# side.I was creating a wrapper DLL in C++/CLI. ERROR:Concurrent Runtime is not supported when compiling/clr...

2 years ago

2 answers
114 views
0
DB Connection Entity Frame in ASP.net Core MVC or ODP.net

We are creating a web API using the ASP.net Core MVC model.So I would like to connect to the database and issue SQL and execute procedures.Until now, I have used ODP.net to attach a connection to the ...


2 answers
35 views
0
Should there be no implementation method for abstract classes?

I don't remember exactly where the title text came from, but I remember seeing and hearing in C# that the implementation method should not be written in abstract classes as much as possible.However, a...

c#
2 years ago

1 answers
39 views
0
How to determine if the specified program is starting, including the C# taskbar.

Thank you for your help.This is a rudimentary question.Looking for a way to determine if the specified executable (program) is starting.It is written on the site that you use Process.GetProcessesByNam...

c#
2 years ago

1 answers
111 views
0
How to create paragraphs by mixing different fonts with iText7

I am using iTunes 7 to create a PDF file with a mix of two fonts.(Example: Bold text in the middle of the paragraph) When I was using iText5, I implemented it using Chunks, but Font regular=new Font(F...

2 years ago

2 answers
133 views
0
Want to pass parameters to WPF user control validation logic

Creating user controls in WPF (.NET 4.5/C#).A text box extension that also implements input validation.We would like to pass parameters to this validation logic in the following ways:<local:UserCon...

2 years ago

2 answers
89 views
0
I want to fly bullets, and I want to realize the movement of the bullets that hit each other stick together.

Let me ask you a question where the Unity 4 introduction is full.I skipped the chicken object as a bullet and entered the Java code in C# that says if the bullets hit each other, they would stick toge...

2 years ago
« - 17 - »

© 2024 OneMinuteCode. All rights reserved.