top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to Explore object at run time in C#?

+4 votes
270 views
How to Explore object at run time in C#?
posted Feb 28, 2014 by Muskan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes
 
Best answer

Source : http://social.msdn.microsoft.com/Forums/en-US/88f4eefc-2e9f-4c2d-b140-bf79801b011e/explore-object-at-run-time-in-c-like-showing-quick-watch?forum=csharpgeneral
Try using PropertyGrid control, it is a better way to show all the property of an object and user can change the value of any property.

answer Mar 18, 2014 by Rahul Mehra
Similar Questions
+2 votes

What are some of the best ways to build XML in C# code?

+4 votes

Is it possible to override this method? if yes then how can we achieve it?

+3 votes

I want get Number of indexed pages of any website so, it will give me exact number of pages in google.
What I have tried:

Uri queryUri = new Uri(string.Format("http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=site:{0}", url));
using (WebClient client = new WebClient())
{
    string getString = client.DownloadString(queryUri);
    dynamic s = JsonConvert.DeserializeObject(getString);
    var IndexedPage = s["responseData"]["cursor"]["estimatedResultCount"].Value;
    lblIndexedPageRecv.Text = IndexedPage;
}

its working but not giving me right answer

my code is giving different values then other online webCheckers like one of this: http://www.pingler.com/seo-tools/tools/google-indexed-pages-checker

...