i hardly use generic. so anyone can explain what is generic and when one should use it. i like to know in what kind of situation developer use generic? i like to request to give some sample code which explain the good usage of generic.
thanks for answer. still things is not very clear to me. u said collection....ok. i have one more request. can you please write small full sample code similar to my situation which would explain well the usage like
Read the link that was provided in the first answer to your question. That answers it all. Better still, actually read a book on this stuff. There are free ones available that are excellent. Charles Petzold's .NET Book Zero[^] is a great resource to help you get started. Seriously, you have to start doing some of this for yourself. If you don't, your career is going to go nowhere because all you have learned is that other people know things and you don't.
He did answer it. You actually have to read the associated article and then think about it for a bit. You've been here and asked enough questions by now to know that we expect you to do some of the work yourself.
I am trying to telnet a HProCurve J9279A Switch but i am getting some unknown characters in the login prompt when i am writing the response in text file . Please let me know how to handle this and remove these junk characters from string . I can say these are some escape sequense which in not recognized by string .
Please register your products now at: www.ProCurve.com
Ok, those are VT100 / VT220 terminal control sequences and then consist of ASCII characters:
ESC [ n ; n x
ESC is Hex 1B
[ is [
n is a number, in ASCII digits: '0' (hex 30) to '9' (hex 39) repeated
; is ;
x is a command code which tells the terminal what to do
Some parts are optional, and question marks can be included as well!
The command code is an ASCII character which (IIRC) will be upper or lower case 'a' to 'z'.
The command code tells the system what to do with the whole command: r is a "Set scrolling region" command, H is cursor positioning, and so forth.
(You can find out what they do here: http://epsfiles.intermec.com/eps_files/eps_man/977047037c.pdf[^] - section 8)
To remove them, you will have to parse the string yourself, and find the start and end of the sequence: it may be possible to do it with a regex, but I've never tried (And am not about to! )
You looking for sympathy?
You'll find it in the dictionary, between sympathomimetic and sympatric
(Page 1788, if it helps)
I run into the same problem and have figured out a workaround that works for as. It is not a perfect solution.
I use a regular expressions substituions between the TCP buffer and the Telnet protocol because the firmware sometimes use unknow esc sequnences that bother the telnet/terminal protocol.
I use Perl for switch automation but i try to translate it to C# (The orginal is a Perl module
I use this expression
before the big one and this after
because the firmware use sometimes esc secuences that does not exist.
i am using Visual Studio 2012 and Sql Server 2008 R2.
i am writing a program that is about inventory tracking.
All of my works is done.
it is working very well in Visual Studio.
And i have to create setup file.
i use installsheild 2013 LE.
I am constantly encountering errors in the setup file.
occurs difference with version of sql server which another computer and mine
and there are many errors about different case.
So let me know please, how i create setup file in this situation.
i want to automaticaly setup sql server,net frameworks and my project.
First, do NOT install SQL Server as part of your setup. Reason being is that MS doesn't license nor support doing that. SQL Server should be installed completely separately. This give admins the option of using their own SQL Server to host your app data instead of managing yet another instance of SQL Server.
As you are using Visual Studio 2010, it's a simple matter for you to create an application installer - it's one of the project types. This will include the relevant .NET framework version as a prerequisite.
Shouldn't be any issue if you build the project using MSI Installer. You however need to create MSI Package Using a Visual Studio Setup Project and build/deploy from it. Include all the dependencies properly.
You should only need a configuration file change, though:
Backward compatibility and the .NET Framework 4.5:
The .NET Framework 4.5 and its point releases are backward-compatible with apps that were built with earlier versions of the .NET Framework.
In other words, apps and components built with previous versions will work without modification on the .NET Framework 4.5.
However, by default, apps run on the version of the common language runtime for which they were developed, so you may have to provide a configuration file to enable your app to run on the .NET Framework 4.5.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Last Visit: 31-Dec-99 19:00 Last Update: 27-Jan-23 4:29