Home > .Net > Defining Nullable parameter of a method

Defining Nullable parameter of a method

Most of the times we need to pass null parameter to method especially when parameter is buy generic cialis 20mg integer. At this if your parameter is not very necessary you think how you can pass null to it so you can define nullable parameter in method signature through below technique;

public DataSet GetPKByStatusId(short[] intpkStatusId, Nullable<Int32> intPageNo, Nullable<Int32> intMaxRecordOnPage, Nullable<Boolean> bolExcludeExpiredHoldPKs)

{

//Write you logic here

}

Comments are closed.

TOP