Could you help me understand how to create a C# api by setting the scope of methods, objects, proper

Posted by highone on Stack Overflow See other posts from Stack Overflow or by highone
Published on 2010-03-31T01:54:11Z Indexed on 2010/03/31 2:33 UTC
Read the original article Hit count: 397

Filed under:
|

The answer to this SO question says that you can create an api by exposing methods, objects and .ect by setting their scope to public. http://stackoverflow.com/questions/630971/how-to-start-creating-an-application-api-in-net

One of the main things I want to expose is the text of a textbox. Would the best way to do this be to create a public static Text property that is updated by the textbox's textchanged event? Also what would a developer do in order to interact with this text property? Would they add a reference to the program .exe in their program?

Please help, I'm quite clueless here. Also was not sure how to word this question, feel free it edit if it is unclear.

© Stack Overflow or respective owner

Related posts about c#

Related posts about api