Skip to main content

Posts

FAQS PART 3

data integrity depends on data sharing accuracy  redundency 2&4                              ANS: accuracy which is lightweight protocal?         ANS:soap class is which based memory      ANS: Heap  csharp code is                          ANS: managed sn.exe generates what?             ANS: Strong Name file and fileinfo classes doesn't offer the set of functionality moving creating copying  deleting                                   ANS: Creating datareader field count return type        ANS: integer type dataset and untype dataset difference? type dataset have schema information of database(primary key and FK info) untype does not have schema information GOALS OF INTEROPERABILITY ANSWER net does not affect existing COM objects .Net and COM components interoperate with each other COM components can be upgraded into .NET components if u build the application what file with extension generated                   ANS: .exe null is a string ?    

Conformation MessageBox

This BLOG POST demonstrate how to use the   MessageBox result in window form programming. to full fill this task we will depend on DialogResult    property in Windows Forms..                   when we are doing windows programming using Csharp ,to show the intermediate result  we will display by messageBox MessgeBox is having one main  function show  .it returns DialogResult Value.when user used  MessgeBox to display the data,user has to click default buttons OK,cancel,Abort,Ignore etc to close  MessgeBox. this we can get from  MessgeBox and it will be saved in  DialogResult variable . DialogResult is consist different button values using ENUM data types . Requirements The following list outlines the recommended hardware, software, network infrastructure, and service packs that you need: ·          Microsoft Visual Studio .NET or Microsoft Visual Studio 2005 or above This article assumes that you are familiar with the following topics: ·          Windows appli

FAQS

hi  TECHKEYS............                                   So far we received many request for FAQs on CSHARP, ASP.NET AND SQLSERVER for fresher who are in finishing schools. We are actively working with these Technologies  to bring   KEY  Resources for   TECHIES.                                   you are interested in helping others  bring TECHKEYS  to your Friends through Social Media, please Leave the Comment to us to improve our work and subscribe  for more information.   Q 1) levels of nesting in a subquery?      a)2        b)6         c)32        d)64 ------------------------------------------------------------------------------------------------------------ Q 2) static method correct syntax:      a.private static main()                            b.public static main()      c.public static int main()                          d.public static void main() ----------------------------------------------------------------------------------------------

Iterator in csharp

Iterator What is iterator? Iterator is a method or function implementation which implements the iterative features for objects and its return type must be IEnumerable type. We can implement iterators in C# read-only property also (only with get ) In each iteration this method or properties returns one element with the help of Yield return statement What is yield Yield is a keyword which is introduced in Csharp and VB.Net to implement iterator .yield is working like return statement in functions but it will call more than one time like loop. yield gives enumeration properties implicitly for object(i.e means explicitly no need to implement IEnumerator) . Yield was implemented in C-sharp and vb.net with different keyword Yield return <expression>; in C# We used yield return statement in iterator to return each element Example static void Main( string [] args)          {             foreach ( var item in getno())