Dears,
I have a base class with 2 virtual methods.
How can I force a child class inherited from the base class to override one of these two virtual methods.
public interface ITest { }
public class Test : ITest { }
public void get()
{
IEnumerable<ITest> test1 = new List<Test>();
List<ITest> test11 = new List<Test>();
}
writing this code line "IEnumerable<ITest> test1 = new List<Test>();" this...
I working on desktop application windows desktop made by csharp
I make license file have period of license as 30 day and start date and computer mac address
my issue is clients delete license file so desktop app start as first day after delete this file
so how to prevent users from delete...
Hi All,
Trying to adjust my code to
a) When a user selects a value from the combo box in the data grid, it copies a value from a different column into another
b) When the data grid refreshes, looks up each value and copies the look up values from a different column into another (for each row)...
I want to plot all the data points, I get from the TCP server. But I could not figure out a way to plot all the data points. Instead currently I print the string to the text box. From the text box only the first line is printed. This is a real time data plotting for an oscilloscope GUI. How can...
Hello, everyone.
I have some problems in customizing UDP Echo server.
https://chronoxor.github.io/CSharpServer/
I'm following this guide now.
I want to get client's IP address and port in OnReceived function of UDP Echo Server.
this function has UDPEndpoint param named 'endpoint'.
I think I can...
hello,
I'm still pretty new to C# and teaching myself. I've searched around and haven't found an answer, so I'm wondering if anyone can let me know if this is possible.
I need to have multiple instances of an object that can be accessed by multiple forms. I know I can do this with static...
I am having trouble with the for each loop
I need it to print into my label saying how many courses when I add courses to a radio button list. Any idea on how to fix this or make it execute? needs to be in a for each loop. Also if anyone has any notes on theses loops that would be great! Thank...
Hello i am new to coding and i need help from someone more experienced.
I have to save 10 000 gameobjects and their boolean values at the time.
I havent actually saved anything before except something in playerprefs and i dont think that is proper way of saving all things.
How to implement the logic of the below code using Microsoft.Office.Interop.Word.dll?
Now iam using third party dll(Spire.Doc.dll), instead of Spire.Doc.dll i want to use Microsoft.Office.Interop.Word.dll .
Please help me to implement this logic using office word dll.
Thank you
using...
Problem
I work on SQL server 2012 windows 7 when implement clr function i get error
Msg 6522, Level 16, State 1, Line 1
A .NET Framework error occurred during execution of user-defined routine or aggregate "spExecuteParallel":
System.NullReferenceException: Object reference not set to an...
Hello everybody,
I am fairly new in programming with C#.
I did some Java, Javascript and php before though.
I have a searchable PDF with a whole lot of formfields. Every formfield has an ID.
Let's say we don't know the names of the ID we just know they have an ID.
What I want to do is to loop...
The following codes are flagged out in my cs file by Fortify even after I have added the AntiXss. May I know how do I resolve this?
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
lblMessage.Text = txtEmail.Text =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.