Is there a control that works like cmd.exe or like PuTTY? With the possibility to have prompts? With the looks of PuTTY?
I have looked around and i have found some, but some don't do all i want. And i have no idea on how to create a prompt in a RichTextBox or TextBox.
With prompts i mean that...
I have the class CItem, with a derived class called CItemBox.
I can easily cast an CItem to CItemBox with this:
((CItemBox)InstanceOfCItem).MethodOfCItemBox();
but how can i cast when i have a Type class instance of CItemBox?
This doesnt work...
CopyTo copies the array, but instead of starting at the index of the array at which i want to copy, it places the whole array in the other array starting at specified indexing, no splitting or slicing happens.
Or am i using it wrong?
Lets say i have this array of strings:
"foo", "bar", "foo2", "bar2"
How can i 'split' the array, that i have only the items after "bar"?
So i would get this:
"foo2", "bar2"
How is this done? Has C# any form of array slicing (Like in Python)?
I have these classes:
public class CHardware
{
[XmlElement("HardwareID")]
public int HardwareID;
[XmlElement("HardwareName")]
public string HardwareName;
[XmlElement("HardwareType")]
public string HardwareType...
Thanks! It worked.
Here is the code that i used:
static void Main(string[] args)
{
Assembly T = Assembly.LoadFrom("CSDLL.dll");
foreach ( Type A in T.GetTypes() )
{
if (A.IsClass && A.Name == "CSDLL")
{
Console.WriteLine("Found. Invoking Function.");
object[]...
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.