c# tag

485 questions


5 answers
107 views
0
I want to get the top X scores on LINQ and rank them.

I'm trying to achieve the common Top X Points in LINQ.class member { public string name {get;set;} public int point {get;set;}}An instance array similar to the one shown in var SelectedMembers = AllMe...

2 years ago

5 answers
117 views
0
I want to get the top X scores on LINQ and rank them.

I'm trying to achieve the common Top X Points in LINQ.class member { public string name {get;set;} public int point {get;set;}}An instance array similar to the one shown in var SelectedMembers = AllMe...

2 years ago

3 answers
98 views
0
How do I detect that Excel is using a file?

I would like to detect that Excel has finished editing the file, but I would also misdetect the exit of the Excel process and the way I poll for open file read rights.Is there a way to make sure you'v...

2 years ago

4 answers
71 views
0
Using SQLite to Express Numbering to Tables

Thank you for your help.The database is limited to SQLite, and there are about 2000 specific tables.I'm looking for a fast way to do this by randomly wielding numbers.id, name, price, index1,Apple,300...

2 years ago

4 answers
143 views
0
Using SQLite to Express Numbering to Tables

Thank you for your help.The database is limited to SQLite, and there are about 2000 specific tables.I'm looking for a fast way to do this by randomly wielding numbers.id, name, price, index1,Apple,300...

2 years ago

3 answers
121 views
0
How do I detect that Excel is using a file?

I would like to detect that Excel has finished editing the file, but I would also misdetect the exit of the Excel process and the way I poll for open file read rights.Is there a way to make sure you'v...

2 years ago

1 answers
67 views
0
Wrapper Library Placement

To use unmanaged C++ Dll from the C# side, we created a wrapper library using C++/CLI.C# tried to create a Test project and verify its operation, but failed to load the library.A copy of the wrapper l...

2 years ago

2 answers
81 views
0
What does SA1200 mean for StyleCop?

Typically, the using directive is written outside of namespace (at the beginning of the file), but StyleCop generates the following warning:What does this mean?SA1200:CSharp.Ordering: All using direct...

2 years ago

2 answers
87 views
0
What does SA1200 mean for StyleCop?

Typically, the using directive is written outside of namespace (at the beginning of the file), but StyleCop generates the following warning:What does this mean?SA1200:CSharp.Ordering: All using direct...

2 years ago

1 answers
71 views
0
How do I implement a Unity routine-like feature using async/await?

Assume that a virtual function virtual OnUpdate() is defined in the base class and the user overrides it in the derived class to implement the process.I would like to co-routine this OnUpdate() like U...

2 years ago
« - 13 - »

© 2024 OneMinuteCode. All rights reserved.