|
Sir Dot Net wrote: Is it really that different than disassembling a native executable?
Yes it is, you can't just Reflect a compiled C++ program and reproduce the source code the way you can with .NET IL.
Sir Dot Net wrote: No matter what language it's in, or how it's compiled, it can be broken down and analyzed.
Indeed, but MS have made it particularly easy with .NET IL.
|
|
|
|
|
It's about as easy as for Java
|
|
|
|
|
Java's not a native executable, it's also intermediate code.
|
|
|
|
|
Yes. Exactly. Are you trying to disagree?
|
|
|
|
|
Are you here for the five minute argument or the full half hour?
|
|
|
|
|
Shorter. You said this:
viaducting wrote: Indeed, but MS have made it particularly easy with .NET IL.
I said it's about as easy as Java, as if to say that it's neither special nor new, which doesn't even actually disagree with the point you're making, it's just the kind of useless remark that people here would expect from me.
See? All done. No disagreement in sight. I'll go do something useful now.. for 5 minutes or so, then TF2 again
|
|
|
|
|
More likely they were thinking that they should provide a unifying environment where you can write programs in a language of your choice, and get access to common features in the same way regardless of the language. This environment should be independent of the operating system and should provide a modern object oriented development experience. Obfuscation has never really been part of this roadmap, and is not really relevant to most corporate developments which value speed of development.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Mushrooms!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
Badger badger badger badger badger badger badger
|
|
|
|
|
I am new to TDD and i am trying to find some application which i can try.
i tried with calculator and bowling application but i need a some real application which i can try and later use as reference for my team members.
is there any application which i can use.
|
|
|
|
|
nitin_ion wrote: I am new to TDD and i am trying to find some application which i can try
What exactly do you mean by TDD?
If you mean test driven development, then if you are looking for a sample application (which is already implemented) to use it in, then IMO, you are definitely on the wrong track.
TDD is supposed to be used when you are building your own application - write your test code and then your actual code.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
|
|
|
|
|
I am not asking for a complete application but a sample application like Caclulator or Bowling application but which is more real scenario.
|
|
|
|
|
TDD is like the matrix, you can't be told what it is you have to experience it for yourself.
A sample application wouldn't make sense as TDD is by definition a development methodology and a sample application is by definition "finished". You have to go through the process of writing your own app to experience TDD. I suggest you try writing a calculator, by starting with the simple unit tests on a basic model and iterating round until you have a calculator application.
Google for NUnit, if your version of Visual Studio doesn't support unit tests...
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
He's not asking for a ready application, only for the name of it. He says, that he could write "Bowling" or "Calculator" using TDD, but he wants to write something more usefull.
As to the question, I have no idea
Don't forget to rate answer, that helped you. It will allow other people find their answers faster.
|
|
|
|
|
Below code convert html code into text form and remove all tags related to html, script and style etc. Code remove all tags with the help of regular expressions so you don't need any parser for this, and its more efficient then any parser.
public static string ConvertHTMLtoText(string input)
{
input = Regex.Replace(input, @"<script.*?>[\s\S]*?</.*?script>", "");
input = Regex.Replace(input, @"<style.*?>[\s\S]*?</.*?style>", "");
input = Regex.Replace(input, @"(<|</)( )*\w*>", "");
return input = Regex.Replace(input, @"<( )*([^>])*>", "");
}
|
|
|
|
|
So where is the question?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Please post a question or where actually you are stucking??
Also read this[^] guideline if you already not read it. Use pre tags for your code.
HTH
Jinal Desai - LIVE
Experience is mother of sage....
modified on Monday, July 12, 2010 9:02 AM
|
|
|
|
|
Please don't delete messages you've posted that have answers against them, and don't think that changing your user id will hide who you are.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
What planet are these people from? They know they're just going to get raked over the coals.
The mind is like a parachute. It doesn’t work unless it’s open.
|
|
|
|
|
Not Really A question is it?*
*Nor is this, unless you count rhetorical questions as questions
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
i want to delete a node an xml code in c#
eg: <lib>
<book/>
<author/>
<lib/>
just delete <author/>
thanx in advance
|
|
|
|
|
What are you using to access the XML? How are you storing it?
Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
|
|
|
|
|
Assuming you are retrieving this in an XmlDocument, just call DocumentElement.RemoveChild and pass in the node that you are interested in removing (you actually have to retrieve this node using something like XPath for instance).
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
If you're using .NET 3.5+
XDocument doc = XDocument.Load( "file.xml" );
var authors = ( from n in doc.Descendants( "author" )
select n );
if (authors != null) {
authors.Remove();
doc.Save( "file.xml" );
}
|
|
|
|
|
Hi all,
I'm using the WebBrower control in my C# application and I have two problems with it atm:
1. Every time the browser control navigates to a page, the cursor changes to the hourglass cursor briefly. I don't know exactly where inside the browser control I can change the cursor.
2. Every time the browser control navigates to a page, my desktop or an open Windows explorer refreshes. The browser control sits in a form that shows on my desktop all the time yes, so it's an application that is always showing, but why does my desktop refresh? And how to prevent this?
Thanks a lot!
|
|
|
|