Advertisement
Guest User

try parse

a guest
Jun 10th, 2014
2,105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.39 KB | None | 0 0
  1.                 textA = "";
  2.         try
  3.                 {
  4.                     textA = x.textAObject.Name.ToString();
  5.                 }
  6.                 catch
  7.                 {
  8.                 }
  9.  
  10.                 textB = "";
  11.                 try
  12.                 {
  13.                     textB = x.textBObject.Name.ToString();
  14.                 }
  15.                 catch
  16.                 {
  17.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement